I can't shutdown or reboot my computer without long-pressing the power button

Gentle shut down a suddenly hanged PC to minimize a chance of getting a broken filesystem and data loss: