Hi,
When you disable a node the values from further up the chain pass through it like it wasn't there, so you don't need to disconnect nodes just to stop them having an effect on the scene. Technically I suppose there is some overhead, but I would surprised if it made any sort of noticeable difference.
I'm not sure why disconnected nodes would be contributing to render time, that's Matts domain.
Regards,
Jo