There is a run-round loop located just outside Whitby station, here https://maps.google.co.uk/maps?q=54.481147,-0.613953&ll=54.481334,-0.613861&spn=0.003995,0.011362&num=1&t=h&z=17
They use this at present I believe, with the train reversing out after arrival to run around, then reversing back...