Don’t Trains have dead man switches anymore?
Yes, but the engineer wasn’t dead. Very much alive, and most likely very much in control of his faculties; if he could operate the dead man’s device, he could do other things.