In this case, you need to try some other ways.
Usually, you can wait a few minutes to let the app buffer, and then it can go on working. Or even worse, it stuck exactly when you open the desktop.
The most common scenario is that your Mac or M1 Mac froze during apps or programs working. How do you unfreeze your Mac/MacBook Air? Check and repair your startup disk in macOS Recovery