Good point, in my "what if" scenario I was talking about the engine not running. But, in the OP's scenario, even though his engine stalled, technically speaking he also could have had a brake failure. He did not know for certain at the time that his loss of brakes was due to the stalled engine. It is completely possible although not probable that his brakes had also failed. So would it not be wise advice to always pump your brakes if you unexpectedly lose brakes regardless of the engine status?
Again, I love this discussion and I am not trying to be argumentative. I just want people to be safe and it seems to me that the safe thing to do in any unforeseen loss of brakes would be to
1. Downshift
2. Apply emergency brake
3. Pump brakes to see if the brakes come back.
4. Point and shoot for the safest possible bailout....
5. Hold on tight and pray
So, I've had that WTF moment in an old beater work car when a rubber brake line split when pulling up at a red light at an intersection from about 45mph.
I applied the brake as usual, pedal felt normal, then suddenly 'released when the hose split and rapidly sunk to the floor with reduced resistance.
In this instance, I had no option but to pump the pedal.
Pedal felt somewhat normal, but rapidly sunk to the floor again. I had to pump the pedal a few times to stop.
In this case, it wasn't rapid pumping, it was semi-controlled. In saying that, it all happened in a matter of seconds.
I think I also down shifted, but can't remember. I just remember looking for a path out of traffic if needed. I managed to stop without colliding with vehicle in front. But was expecting I would crash into the car ahead of me.
Modern vehicles (since 60's or 70's) use a split circuit master cylinder and brake system meaning the master cylinder has two chambers, one feeding the front brakes, the other feeding the rear brakes.
The master cylinder piston acts on both circuits separately.
In my event, the rear brakes where compromised, but the front were still working.
The failure was immediately apparent at the moment the hose split. But I wasn't sure what had happened until after I got it off the road.
In think the additional pedal effort required to try to stop with only front brakes working pushed fluid past the seals in the master cylinder and the pedal sunk to the floor as a result.
I've also had vehicles stall out unexpectedly, and had to coast off the road. In that scenario, brakes work as normal until vacuum is depleted, then pedal effort required increases dramatically.
As
@LandLocked93 suggested, effort required to pull the vehicle up is considerable.