If you (or anyone else) can measure the current drawn by the camera, can reproduce this problem (that is, the current is nonzero after turning off the camera), and confirms the problem does not exist without ML, I can troubleshoot it from there.
I assume you did not remove the card too fast after powering off.