Im not sure if is the right word to use?
My view is it is a burst of emotion inducing adrenalin that makes one forget about the plan (longterm) Adrenalin rush causes your mind resort to short term activity...
Fight or Flight syndrome
Practice noticing the signals is the first step.