I haven't been shocked, but a few years ago, I had an older bow-front aquarium leak. Although I thought I had sufficient drip-loops in my electrical cords, water from the slow leak traveled to the other side of the tank and came into contact with an electrical cord and continued to the plugin. This resulted in a small fire at the plug. Fortunately, I had several family members at home at the time and they were able to put the fire out quickly with hardly any fire damage. Unfortunately, the approximate 12 gallons of salt water that had leaked resulted in $17K of damages to the house. We were extremely fortunate, as just a couple days later we'd all be gone on vacation and the entire house most likely would have burned down.
As a result, I no longer setup larger aquariums on upper floors (to better contain any leak), I stick with 90-degree corner seal aquariums (expecting stronger seals), and ensure proper drip-loops are always in place. I also now have everything in the DT plugged into a separate GFCI outlet, everything in the sump plugged into its own GFCI outlet, added grounding probes in sump & DT, along with incorporating redundant heaters & controllers, just to minimize the potential for any future electrical issues.