Traffic has been forced to turn round after a level crossing on the Steam Railway line got stuck in a half way up position.