It's like you're surfing. . . The same wave that can be a source of pain can be a beautiful flowing grace and source of power. It's all a matter of how you respond to it.
That is an incredible period I think when you have a near-death experience. You are really understanding that there is a greater self than the physical body, and the cosmic anatomy as I call it is suspended and physical, is almost attached to it but not quite, and you're living in that in-between sphere of apparent reality around you and then the real reality of the infiniteness of it all.