It is a matter of switching up the coding, if you remove the coding of the route file after that certain station, and copy-paste in the coding of another route that you want your route to run via. The route will also be over after the station you cut it off at, if you do not paste anything after that.