I have a 2012-ish MBP and I am using it to develop iOS apps using Xcode. This app stops responding relatively frequently, but usually I can just force quit it and open it again. However, this time I cannot Force Quit Xcode, although there is no 'dot' beneath it in the dock, right clicking the icon just shows the 'not responding' message. I have attached a screenshot.
This is preventing me from shutting down my computer. How can I fix this?
I hope my description is clear enough to make this a good question.