Not if you hold the power button. Yeah if you single press a power button, the os can divert that, but long press, the SMC will cut power. Similarly how, pressing and holding the power and the volume down button on a phone, cuts power, even if the OS is hard frozen. Sometimes you just need an emergency exit.