When my dad was in ICU, an elderly woman coded repeatedly for the last probably ten days of her life. My mother spoke about it with disgust. She felt the family wasn't prolonging the woman's life. They were merely torturously dragging out her death because they were not emotionally ready to accept the reality that she was dying and would not be going home again.
(Given that my dad was in his late sixties, I think "elderly woman" as a descriptor from my mother means eighties.)