Why QuickTime doesn’t have a keyboard shortcut to at a minimum stop a recording is beyond me, but I submitted a feedback ticket with that feature request. If Apple still supported developing extensions for QuickTime Player, I’d do it myself, but you can’t anymore for “security”.