What I am doing on mine is to put in a SPDT miniature slide switch and then rewired the power feeds thru the switch. That gives me the option to have the loco get power from either track or overhead depending on switch location. Probably not necessary to do it that way but I like the idea it is drawing power solely from the overhead when that option is selected. As already stated you would still have track power for passenger cars.
Ed