It doesn't matter. Even if every single atheist recanted on their deathbed, it wouldn't change the fact that there is simply no empirical evidence for any deities.
You and I know this, but this video was for people dealing with that smug 'you will change your tune when it is your time' BS family loves to end this conversation with.
Of the several times I have brushed death, none of those times included a chant to a god.
My typical response in my head was "Ah fuck. This is going to be a fun ride.", or a variation of those words. It usually involved some dark sarcasm, now that I think about it.
(Working on an aircraft carrier flight deck is extremely dangerous and sailors can delop some morbid humor as a result. I ain't saying it's right, but that it's just a thing. Stress response is weird.)
My father just had his heart monitored for a couple weeks and the doctor pointed out pauses in his rhythm of about 5 seconds occasionally, and said 'those are not worrying me'. Then showed him pauses 8-10 seconds long and said 'these do'.
Glad you're okay but you're about to be prescribed a diet of sawdust (joking, it'll probably be the Mediterranean diet which is not that bad) and frequent doctor visits for tests.