Sleep can feel like disappearing because your memory leaves large parts of the night blank. What your brain is actually doing during those missing hours is very different from death.
Even though someone who is asleep may look pretty much shut down for the night, their brain is not turned off.