reminds me, I used to put a little water on the back of my parents' 2010 imac to keep it from overheating. ~5 years ago, it started doing this thing where if it overheated it would give you no warning before freezing entirely and beeping at MAX VOLUME before cutting power, not gracefully shutting down. I always referred to this behavior as screaming in pain before passing out, so I always made sure to water the computer when doing intense workloads. That imac is still going to this day.
This was some netgear router that supported wireless b (remember wireless b! wow! it was the ONLY kind of wifi at the time!) It would constantly overheat and drop signal so if I needed the wifi to be reliable I would leave a bag of frozen peas on top of it.
When I got my job at CVS when I was 19, one of the first things I did was I went down to the local Walmart and bought a Linksys WRT54G.
The WRT54G (and BEFSR41 that predated it) couldn't handle more than a few hundred concurrent sessions, so once file sharing became a thing, my family became fed up with the damn thing constantly freezing due to the traffic we were putting through it, which was completely inconceivable to the designers and testers of the device and which they could not have reasonably known they needed to test for.
I did not have this perspective at the time, and simply opined that they should have supplied both devices with a reset button in the form of a "snooze" bar across the top so that we didn't have to keep fiddling with the power plug.
Honestly my current, fancy ass router still needs to be power cycled enough that I wish it had a snooze bar
you could wire one of those doormats that bark when being stepped on (or make some other sounds) to a relay switching the router's power supply