World’s Easiest DIY Electric Train

If you supply current to the whole spring from an external source while the battery is still in it, the battery will stop, will it? if so then you can control the battery movement like a train arriving at the station without physical breaks.