Stops the train automatically. If the train is rented, it arrives. If you return the train, it stops where you left it.
If you let the train leave the map, it has to be rented again when it is back and put to the side. After that, you can return it and it will stay there.