If you are external and driving, you can reverse by clicking on the circle with a space in the middle. The icon looks almost like a recycling icon.
You'll see the direction arrows flash briefly.
You can do this for drivers by using the reverse direction command if you want the train to turn around with AI drivers in control.