Thank you for the story. It was fun and I think you did nothing dangerous but I believe you are mistaken. Quarks
are not diving lights and shouldn't be used as such. Most lights, Quarks included, may work correctly underwater but shouldn't be used if their malfunctioning may result in any danger.
I don't know why you think the Quark is "waterproof down to 10 METERS". You may have been led to believe it because of the "IPX-8 Waterproofing" statement in the specification. If it has anything to do with the IEC 60529 standard, there is nothing about 10 meters (only one meter) in there, unless the manufacturer defines their own testing conditions (does 4sevens do it?). There are many problems with this statement that were previously discussed in depth (e.g.
here). I think it is safest to understand the "IPX-8" meaning as "splash proof".
Moreover, according to the IEC 60529 standard, the "IPX-8" IP Code doesn't even exist. The standard clearly states that there is no place for dashes or hyphens inside the code, so if anything it could be only "IPX8" (or "IP6X", "IP67" etc.). I don't know if this popular, especially in China made lights, notation was meant to be related to the IEC 60529 standard. It may as well describe something completely different, only by coincidence similar to the IP codes.