I can see what you mean, the reason why we are afraid of death is not because we are afraid of losing our body, but because we are afraid of losing our self image. Enlightenment intellectually is losing the ego, and death is essentially losing the ego(from a thoughty, intellectual perspective)
Though Leo gave some good advice above ^ I will just add that Alan Watts agrees with Leo, enlightenment also involves the realization that death as we intellectually see it is impossible, he states that enlightenment apparently shows you that lack of experience cannot happen, and reincarnation exists; another way of saying that lack of experience cannot occur.
So according to Alan Watts, and adding to Leo's comments enlightenment is not like death, enlightenment is detaching from the ego, the ego still exists though you are 'detached' and see its true colours, and death is losing the ego in its entirety, you do not see it for what it really is or detach from it.
Though anyone's intellectual interpretation of the above is a vivid story compared to the real scenario, I probably don't have to assert this but take caution