Sounds like you tried to do the right thing. Sorry to sound a bit harsh
(It's easy from the comfort of home)
Knowing when to bail is as you say the key, and once you get to the 'top' which 'way' makes most sense to bail.
Starting to get me thinking about our Plan B in such a situation.....
Was the road still passable up to the Cross (Croix Thibault) ? Might be worth having a St Jean taxi number in the pocket........ And likewise for the far side (Spain) after reaching the road.
I can remember the voice of 'Capt' Albertson, when teaching me to handle a motor boat.
If you lose an engine now, what will you do?
You're close to a lee shore, if the engines cut now, what will you do?
I was always taught when Hiking in bad weather to take a similar approach. A bit like a pilot.
If we bail now, which way will we head? Onwards, turn back?
If the weather gets worse, where will we shelter (those trees 400 m back, that hut up ahead)
But it's good that no one has been hurt.