Tilt the gray metal box from the left to the right. Do not try to pull it off.
Once you tilt it, you will see a wiring harness that is connected to the box via some tabs. Pull those gently apart, remove the shielded cable.
The harness is terminated via a connector to the side. Unplug the connector by GENTLY pulling on the side of the plastic. Do not pull on the wires.