I assume both trains are powered with legacy transformer versus Lion Chief and remote control, because with two Lion Chief engines you would not be having this issue. So, you need an isolation block to break the power from the mainline. You would need separate power (and maybe even a separate transformer) for the isolated section.
Sent from my iPad using Tapatalk