sonvolt12
Welcome to the forum.

Does that mean that even though I clicked on delete, the thing wasn't deleted?
That all depends on where the infection was located. Please help us help you. What version of Avast! are you using What vps version? What OS? What exactly is the error message? (If you are getting one.) etc. etc.