You use whereupon to say that one thing happens immediately after another thing, and usually as a result of it.
Mr Jones refused to talk to them except in the company of his legal colleagues, whereupon the police officers departed.
琼斯先生在没有法律界同行的陪同下拒绝谈话,于是警官们离开了。