The great scholar Daniel Dennet recent had some serious heart trouble that required he undergo surgery wherein his heart was stopped completely. He has written about the experience and reflects on famous deathbed epiphanies that result in atheists succumbing to religiosity. He admits having an epiphany of his own but remains an atheist.
Dennett’s fans will find it a interesting quick read.