The old furnace gets disconnected, not left behind
A contractor shuts off the gas line and the electrical connection before anything gets pulled out. If the furnace vents through a flue, that gets capped or removed too, so there's no open path left into the house. None of this happens until the new unit is ready to go in, since the house needs heat the whole time this is happening.







