Same with overland travel. You either caused the problem or allowed it to happen. Either way it's your job to fix it and it's the only way to keep going. It requires preparedness, flexibility and resilience.
I remember many messes where I just stood there thinking to myself "alright nicbou, what did we learn today?"
In 2012 I've spent almost the entire year hitchhiking around Europe. Mostly alone, sometimes in a small ad-hoc group that would part whenever we had to take different turns. Sometimes there is someone else to blame: a driver who dropped me off in a far worse place (like in the middle of a busy highway); a mate who almost blew all of us up when mishandling a gas cylinder; unsolicited exhibitionism; etc.
Well, shit happens. Pick your stuff up and carry on.