The teacher kept a rod in pickle for the noisy students.
rod in pickle
idiomA particular punishment or penalty prepared ready to be applied in the future.
The manager warned the team that he had a rod in pickle for anyone who missed the deadline again.
Aware that the king held a rod in pickle for any sign of dissent, the advisors chose their words with extreme caution.