This was a great opportunity to discuss things when your horse is on the muscle and what to do to turn the situation into a positive rather than a negative that sets your and the horses confidence up to get better rather than worse.
It’s real easy to undo days of good horsemanship when something like this happens. The first thing is to keep yourself safe, and second is to not undo what you’ve been doing out of frustration or fear.
I had an article one time in Western Horseman titled “Have fun, Be safe”. That should be the theme of every ride, and whatever other positive you achieve is a great bonus, like picking an apple from the apple tree!