Right click the avast icon in your system tray and choose “Stop On-Access Protection and Exit”… that will effectively turn off avast.
You can also Pause a Provider from the same menu.