A train was thumping with white smoke as it slowly moved along the track.