Anyway, the best way to shut it down is go to Control Panel → Administrative Tools → Services, and stop the “Avast antivirus” service".

The same can be done from the command line by executing the following command:

net stop “avast! Antivirus”

Cheers
Vlk