Ego means self-identification with thinking, to be trapped...
Ego means self-identification with thinking, to be trapped in thought, which means to have a mental image of "me" based on thought and emotions. So ego is there in the absence of a witnessing presence.