A locomotive pulled aside on the tracks as a man in a blue uniform closed the tracks.