Game won’t close

I am unable to close my game it’s been over 10 minutes now since I’ve pressed quit and it went to the desktop has the mcc cursor and you can hear the audio and see the blank icon in the taskbar. I’ve done the “fix” show all desktops to make it so the blankness goes away but I’m not sure why it hangs my machine until I restart it.

I usually end my game with task manager. The game always freezes for me when I try to quit to desktop.