Yes, but do not twist.
Perhaps a picture of the switch so that we can see where all the wires go might show why the security camera does not work.
Perhaps a picture of the switch so that we can see where all the wires go might show why the security camera does not work.