None of this stops the risk of fire.
Once a fire starts, the printer turning off won’t magically stop the fire from continuing to grow.
Printers can fail in all manner of ways.
Also, you should have a venting solution of printing ASA.
It’s pretty cheap to get a proper fire resistant heat cover for a printer.
Just get an emergency “space blanket”, they’re often only a couple bucks and quite good, but very fire resistant.
All the electronics inside are very much capable of combustion.
Your power supply inside the printer body for example can very much fail and burst into flames.
And tbh it’s not that uncommon for that to happen with 3d printers. They’re often made with very cheap parts and prone to cheap work on the inside bits.
Add on how much of a high wattage load they meed to handle for extended periods of time and yeah, sometimes the inner wiring bursts into flames and the whole thing goes up.
I always recommend keeping a cheap lil smoke alarm directly overhead any 3d printer, seriously. Those removeders can very much spontaneously burst into flames lol