Train engines generate thousands of horsepower and take an hour or more to warm up before they can start pulling rail cars. This is one reason there is reluctance to turn them off. Also, particularly relevant for a locomotive attached to a train, the brakes on the cars in the train do not work without power.