When you play the web version, you might do a browser shortcut when you actually don’t want to! (Ctrl + W closes ANY tab, try it now!)
To avoid this you can first press W then Ctrl or simply download a standalone version and play on your computer or phone.