Meaning of “in the heat of the moment” - Learner’s Dictionary

in the heat of the moment

If you do or say something in the heat of the moment, you do or say it without thinking because you are angry or excited.

(Definition of “in the heat of the moment” from the Cambridge Learner’s Dictionary © Cambridge University Press)