Did you do a system restart after first getting stuck, that would effectively be the way to get out of this.
You are unlikely to be able to do an uninstall if the program hadn’t fully installed. The same may be the case trying to run avastclear if you hadn’t done a restart first.
Have or did you have any other Antivirus installed prior to trying to install avast ?