I have spent a long time in intense meditation and following ascetic practises ( Samādhi ) and have found a way to consciously die.
By this I mean, consciously leaving the body and shutting down its organs (heart, lungs, etc.), choosing to die by an act of will.
I did it to myself and go to experience life outside of the body for awhile but then I decided to plunge back into my cold dead body before it starts decaying and force it to start working again.
After getting back in, my entire body was numb, the blood was starting to coagulate from not moving around, but I restarted my heart and go everything back online and working again.
Many Yogis, when they are done with life, practise Mahasamādhi which is the final Samādhi.