Actually the deadman's switch has to be depressed at all times, which is why the drivers cheated by pushing it with a signal flag.  You're thinking of a vigilance alarm, which were installed in the trains after this accident.