In this case, you would want a way to force the program to quit.
You even cannot close the program by clicking the X button in its upper right corner. When using apps/programs on the computer, sometimes one program might experience long pauses or periods of unresponsiveness. 3 Ways to Force-quit an Unresponsive Program in Windows 10 PC