I have experienced near death over 600 times because of sleep apnea. On many of these occasions I have had dreams that have informed me I am dead.
So. In case you are wondering:
Your brain goes into shock.
You zip through a gigantic roaring chrysanthemum form.
You are with your teacher if you have one and you are doing bardo retreat and it is awesome.
Not so scared of death any more.