It takes a while for the mental stuff to fade, but it will in time.
I agree that having a plan B (maybe C, and D, too!) is the way to go. The concepts in AVRT helped me a lot, too. Take some recovery materials and/or sign in to SR on the mornings you're away (it just sets the tone for the day).
It's totally normal for us to have those thoughts run through our mind..... it doesn't mean we have to act on them. I like the old saying:
"You can't stop birds from flying over your head, but you can prevent them from building nests in your hair."