One of our cats once nearly managed to kills us like that
we have a electric stove with a touch panel on top
normally it's locked (by holding your finger over one of the touch buttons for like 3 - 4 sec)
however sometimes it's forgotten and there was a stew on of the pits (the ones that is selected by default when the stove is turned on) not only did the cat manage to turn it on during the night with one of its paws it also managed to turn that stove pit on the max

next morning the stew was black as coal, the pan was glowing red, a mist in the living room and the stench was horrific for the next few days.
anyway glad you're okay and not turned into a fried potato
HunterICX