Maybe you can hold left click on the cable and drag it into the side of one of the cars(a bubble could appear around the tip when you look at it)? And when you release left click, it could zip back into the machine.