how he had thrown the switch on the engine into reverse after spying a stalled freight train on the tracks up ahead , ramming the rear of it anyway , dying himself , but saving all passengers aboard by reducing his speed .