What happens to ego tendencies after realization?

The tendencies remain.

The tendency of the eye to see remains. The tendency of the tongue to speak remains. The tendency of the body to eat, live, read, remains. But all those tendencies are sanctified by the touch of Truth.

When the lover is not there, then the house is a prison. When the lover comes, the house still remains, the walls still remain