Rerailing guard

A casting or device attached to the rails near the end of a railway structure so that, if an engine or car is derailed, it will run back on the track.