You are conflating two separate things. Stalls in the aerodynamic sense (angle-of-attack above critical) have nothing to do with the engine "stalling" (engine-out) which is a mechanical failure.
Aircraft stalls are not extra-ordinary events and with auto pilot on the computer is always adjusting the angle, speed , preventing stall etc.