Originally Posted by killian
Thanks for the replies!
So how do I disconnect the cable at the switch? Is it just a matter of unscrewing the cover and disconnecting the wire connected to the switch?
Not quite. In order to abandon the cable you would break the connection to the switch and the white wires that are spliced in the switch box. That way there is no way that the cable could become energized in the future even under some rare wiring failure modes. To be clear what you do is you disconnect all of the insulated wires in the cable you are going to abandon, from any other wire in any other cable.