Kill Outlook using taskkill
This will forcefully close any open outlook.exe processes:
taskkill /IM outlook.exe /F
But if that doesn't work in testing, try this one instead, which will also close any child processes of outlook.exe:
taskkill /IM outlook.exe /T /F
For me, taskkill /IM outlook.exe /F closed Outlook and all my IE windows.