A train was moving slowly on the tracks as the wheels rubbed against the ground.