No one was injured in the incident. A passenger train from Agra to Kota was delayed by nearly an hour.
The incident occurred soon after the goods train left the yard, a government railway police (GRP) official said.
Work to restore the tracks is on, he added.