Attempt to force quit the application.
If that doesn't work, press and release the power button to shut down. If it fails, perform a long press on the power button.
After powering on, scan for malware, take the suggested actions, then restart your computer.