A train was moving slowly along the track, with black smoke coming from the rear of the train, making a rattling sound.