If you need to download a removal tool, disconnect after the download is complete and don’t connect again until you are sure that the malware has been removed. So stay offline as much as possible if you suspect that your computer has been infected. How to remove malware from a Mac Step 1: Disconnect from the internetĭisconnecting from the internet will prevent more of your data from being sent to a malware server or the malware from spreading further.