Revert to a previous saved image should remove it. You may lose some files.
When I got the ransomware I was unable to restore an image.