Zend certified PHP/Magento developer

How can I stop an accidentally started mass delete process in Outlook 365 desktop application?

Our company has Office365, and we are using it for e-mail and Teams. I’m using the Outlook desktop application, that’s connected to cloud. Today I’ve made a bad mistake.

I wanted to delete a text from a textbox while working in a virtual machine. So I pressed ctrl A and delete.

Unfortunately, despite the fact the cursor was flashing in the textbox in VM (it’s a different computer basically), Outlook365 desktop app was the active window and it interpreted this as a command to delete all e-mails from Inbox, all the 15 years of them more than 20k e-mails. Without even showing a confirmation dialog or anything!

I quickly exited it and restarted the computer and then I logged in from outlook.office.com, and I have found, that it deleted roughly 1 year worth of e-mail. However as soon as I start Outlook desktop application again, I can see my mails in web mail’s inbox go plop-plop-plop disappear, as the desktop app is putting them into the virtual paper shredder one by one. And this process is keep going until I kill Outlook in the task manager.

So currently I cannot open the Outlook desktop app, because it mercilessly starts shredding my e-mails. Restarting computer does not help.

Is there any way to stop this ongoing process? Or do I have to watch it and cry as my whole e-mail history is being deleted in front of my eyes in a slow painful to watch way?

I tried to disable cached mode in Outlook, that stops it, however as soon as I reenable it, the deletion starts again. I tried to delete outlook cache, but it has no effect.

Outlook is sworn to delete all my e-mails at all costs!

I couldn’t find anything on the internet how to stop an ongoing delete/move process, or any way interrupt stop, undo the process at all.

Fortunately it seems the mails are being moved into the Deleted items folder, so they are not permanently lost, yet. But it will be a PITA to restore them one by one, as the Deleted Items folder contains stuff that I genuinely deleted (such as meeting requests, etc.)