I'd stage the train so the car was at the end not in the middle. Then you detach it via a new coupler that doesn't exist but could, and let the car coast to the swtich and move to the town.
Pickup is more difficult though.
Pickup is more difficult though.
How would you detach a single railroad car from the center of a train and move it to the town's sideline?