Ouch! I've always been afraid of that happening.
I haven't ever totally lost everything, but I did lose all my fish once for reasons still unknown to me. Water parameters were all within recommendations. Nothing like you had, just a couple clowns, a mandarin, and a yellow tang.