Sometimes in QuickTime Player, as with any program, things can go wrong. If there’s no Stop button visible, or the program turn off in any of the usual ways, then try to force quit the app. You can use this function to close the program, and this will also stop the QuickTime recording.
If you can’t stop recording in QuickTime Player, follow these steps to force quit the app:
Make your screen recording in the same way as described above, and if you find that there are any issues with the recording, it is time to opt for the Force Quit button.
You can open the Apple menu at the very top left of your screen, the icon is the Apple logo. Then click the Force Quit button.
If you can’t open this menu or your Mac has frozen, use the shortcut Ctrl + Command + Esc to force quit.
Either of the above methods will bring a list of programs. Select QuickTime Player and then press the Force Quit button. This will exit the software altogether and end the screen recording. It is possible that you will be able to recover the recording.