deathbed conversion
Acceptance of religious belief immediately before one dies, typically in a state of anxiety or fear of the insecurity of what will happen to one in and after death.
Mr. Hitchens discussed the possibility of a deathbed conversion, insisting that the odds were slim that he would admit the existence of God.