The awareness of Self is not only lost but has now become a source of fear.
It represents the unknown and seems to threaten the self you have made.
The ego fears the Self, although it does not know It.
It does recognize however, there is a threat to its existence, against which it must defend itself.
The recognition and return of the Self will indeed undo the ego, not by attacking, for Truth does not attack illusion, but simply by shining it away.