You’ll not lose your avast subscription. Keep the license file safe and reinstall it.