Have you tried pressing Alt+F4 ?
If you are on steam deck you can force close by pressing and holding the Steam Button + B for 5 seconds.