If Charles de Gaulle turns off AIS, how does North Korea find it?
Track not the ship itself but the planes that take off and land on it. Many sites will expose their paths, you'll see the planes circling in a pattern around "some void" - that's the ship.
https://en.wikipedia.org/wiki/Malligyong-1