To stop the train in cases of emergency