Here they are some useful articles that indicate on how to safely uninstall Sophos Antivirus,
Sophos Central Endpoint and Server: Uninstall Sophos using the command line or a batch file
https://support.sophos.com/support/s/article/KBA-000003469?language=en_US
Remove Sophos Central without tamper protection password
SophosZap: Frequently asked questions (to be used only as last chance)
https://support.sophos.com/support/s/article/KBA-000006929?language=en_US
Sophos Central Endpoint: Automate the software deployment to Windows devices
https://support.sophos.com/support/s/article/KBA-000003140?language=en_US
Sophos Central Endpoint: Installer command line options for Mac and Windows
https://support.sophos.com/support/s/article/KBA-000004840?language=en_US