You have to power down the cable modem, swap the cable and then power up the cable modem. As to the router there are too many other reasons so I can't list them but the move the cable issue? Well known.
Bob