Again, there are a couple of ways to do this: However, if the app is frozen or just won’t go away, then you need to force a quit. The first thing to do, of course, is try to quit the app normally: If that happens to you (and it might happen often if you’re playing with the latest Monterey betas), it’s time to quit the app.
Apps on macOS are usually well-behaved, but there are times when they can stop working or freeze and slow down your entire Mac.