Not sarcastically but in a genuine tone, say what you learnt from your boss. You must show that you were listening. Don’t repeat the negative words, just correct what you were being accused of as if you learnt your lesson and that it will not happen again. And in addition, lightly describe their aggressive body language like them gritting their teeth, red face or the fist maybe, so that they know where they crossed the limit and what was too aggressive, this will alert them to their unprofessional behaviour.