Cutting power to IC using MOSFET fails
More likely than not, your device is finding a ground connection via its internal protection diodes and another pin that's connected to ground. Without a ground reference of its own, that pin appears to be negative from U2's point of view, and thus current flows through the ESD diode and out the pin, completing the circuit.