To completely uninstall Microsoft Edge on Windows 11 you can create a system restore point first and then try the following: Open Edge browser and get the Edge version number from edge://settings ...
Then, find out Microsoft Edge in this panel ... Now, you need to delete all the leftovers. If you do not remove them, they will come back when you reinstall the browser in the future.