death is like anesthesia?

I recently had a surgery and it was the strangest experience

in the operating room, they put something over my face and then the ceiling swirled briefly and everything went black

literally everything disappeared, my body, my mind/thoughts, sound, space, time, all gone

then everything came back, I was in a different room wearing different clothes, with no memory of anything happening while I was under anesthesia, just blackness, like a gap of nothing

so what do you think, is that like death?