Inevitable does not mean imminent. The process of dying may take place in an instant or over a period of time.
When the spiritual being decides and knows death is inevitable it once again separates itself from that which is human. It become detached and watches the event unfold from a distance. There is no pain or suffering just the understanding of what it is occurring.
It is at this time that the spiritual being is now there to give assistance to others in their search for a meaning. These others could be family members or even the being that is causing the death.
The wonder of this is to know that at death there is only a transition back to the spiritual. Knowing this allows the human/spiritual being to be detached and unconcern about death.