If it doesn't have to move at all again, you could set up a linear track (instead of a loop) where the last path_track is exactly at the same position as the first one - therefore having the train stop right where it started. Of course, you couldn't start the cycle again unless you use a trackchange or something like that.