Police said the train has been moved and traffic restrictions have ended.