I have experience of this
the person in question decided that if they needed medical support the EHIc system would deal with immediate issue , longer term, eu / U.K. would cover ongoing treatment.
repatriating Family to the U.K. if required
IMO Life is for living, not waiting for the inevitable Check out.
Even if immediately inevitable
, unfortunately the person unnamed decided they would not travel, consequently they didn’t See the most of the last six months they could have feasibly travelled, six months they would have been able to travel and enjoy life !
Each person needs to take the responsibility and have discussions with fam to understand the risks & reward
, but in general first world countries don’t let people pass without treatment and particularly dignity!
no one person can have a perfect solution
Edit: I wish you the best, I didn’t mean to sound matter of fact , which on re reading my post does.