That is a gland connector which seals the outer cover of the cable and grips the protective outer wires then the conductors continue into the box / device to the connections.
So you have to undo the internal conductors and then release that cinnector.
Make sure the supply is off.