For me it happens when I intend to press CmdW to close an app but a slip of the finger ends up in an app being quit suddenly

Can you repeat this sentence, but add in punctuation?
For me, it happens when I intend to press Cmd+W to close an app, but a slip of the finger ends up in an app being quit suddenly.