It happens at least once a day, always when I'm right in the middle of working on something important: I accidentally brush the Command+Q combination instead of Command+W to close a browser tab, quitting me out of Chrome. Sigh.
Go ahead and get your Breaking Bad jokes out of your system. We'll wait. Once you're done, we recommend installing Amphetamine as soon as you can. This app is a super-tiny download, and it's like giving your macOS machine caffeine pills. Once activated, your system will stop going to sleep.