I think you are confusing brain death with vegetative state caused by severe brain damage.
1: https://www.nhs.uk/conditions/brain-death/