If the F4 key doesn't work, try using the compatibility settings on Windows, system preferences on Mac, or window manager settings on Linux. You can also check for any keyboard shortcuts that might be interfering with the game's controls.