“Snap’s update system kills the running application and applies updates, without user consent.”
Canonical decided your open browser is less important than its update schedule. You get a vague notification, a countdown, and then the app dies whether you saved your work or not. Closing the app doesn’t trigger the update either, because the updater only checks every six hours. This is Windows Update behavior with a Linux logo on it.