I had something similar happen to me with Debian 12. I believe pressing ALT + F7 after it reached that “power off” message forced the computer to power off. Something caused it to get stuck, but I’m not 100% sure. It may have been some bug with my Samba file share setup, but I have no way of confirming that.
Not sure if this will work for you, but it’s worth a try. Good luck and hope you solve the issue!
I realized shortly after posting my reply that your post was created 30 days ago. Not 30 minutes lol. Glad you got it fixed!