Dysthanasia

In medicine, dysthanasia means "bad death" and is considered a common fault of modern medicine :

Technologies such as an implantable cardioverter defibrillator, artificial ventilation, ventricular assist devices, and extracorporeal membrane oxygenation can extend the dying process.

Dysthanasia is a term generally used when a person is seen to be kept alive artificially in a condition where, otherwise, they cannot survive; typically for some sort of ulterior motive. The term was used frequently in the investigation into the death of Formula One driver Ayrton Senna in 1994.