It is not detected as a virus but as Susp(icous).
Those are two different things.

Cannot be undone?
It sure can.
You can restore it from the chest and if you want add a exclusion for the file.

So you are perfect and never make mistakes?

You can replace avast for another av, but every av has false positives.