Patients will be weaned from the ventilator according to a standard protocol. End-of-care decisions in patients for whom further intensive care is considered to be futile will be taken in consensus by a group of two senior ICU physicians and the referring specialist, all blinded to study treatment allocation.