Although the safety record of the Indian Railways has generally improved over the years, unexpected mishaps do occur-like this one in Rajasthan when a runaway coach ran 12 km over a light slope until it was switched into a dead end:
Fortunately there were no casualties (mainly because no one was in the errant coach). And this is a low-traffic route, but level-crossing mishaps could well have happened.
The official information sheet by the railways does hold the shunting staff at Barmer at fault, though they are yet to be punished. The link for this is not available now.