The train safely in the loop, token retrieved, the blockman can then put it through the machine, and having been given permission from the blockman in advance, can get it out again, and hand it to the crew of the approaching down train. Having set the road, of course.