Railway Station's yard but no one was injured.
The incident occurred during shunting when one of the front wheels of the engine jumped the track.
Mechanical and other technical staff restored the engine after nearly an hour, Government Railway Police said.
No one injured in the incident but three passenger trains were delayed due to the incident, they said.