I am in the middle of a bad brew day right now!
I mashed in and saw the temperature shoot up to 168F!
What I did not realize at that time is I had the pump on too high, and outran the mash's ability to drain. The temp probe is below the basket, and as the volume of liquid dropped, I guess there was enough energy in the element to really boost the temperature in that volume.
I dumped in the ice, turned off the element, slowed the pump, stirred like crazy, and got the mash back to 150F. The mash was now nice and loose and like a dope I turned the pump back up. It was slowly outrunning the basket drain rate, and after about 10 minutes the temperature shot up again! This time I heart a POP where the element got exposed, and I finally realized what had happened.
Despite the high mash temperature I got complete conversion (per iodine test) and taste no scorching. My mash pH is still acceptable despite the extra dilution. I have extra water in the kettle but I plan to boil it off before adding hops and starting the official boil.
So, hopefully all is well. I won't know what the element looks like until the batch is done. I hope it isn't wrecked, but it's running at low power during the mash so I am hopeful that it will be OK.
Don't overpump! I knew better, managed to do it anyway...
EDIT: All is well, the element is fine. Fortunately it was not being driven hard during the mash. I boiled off the extra water from the ice before beginning the real boil. As far as bad brew days go, this was not so bad after all.