OK... let's remove your brain and leave you on a feeding tube for the rest of your life.
Nature killed this baby. It had no brain and was therefore only "alive" like an amoeba or bacteria strain is alive. The humane thing to do for everyone, family AND baby, would have been to abort it.
If a baby is born without a brain, it will not live long in the natural course of things. There is no reason to commit murder.
There is also no obligation to impose surgery, ventilator, etc. upon a dying baby, or to prolong that death with an array of wires, tubes and pumps. You give ordinary care ---the warmth, the diaper, the nipple, the holding --- for the hours or days that life remains.
My Aunt Frances gave birth to an anencephalic baby, Anneliese. She and her husband and the baby's brother held and loved Anneiliese, who died before the week was out. They loved her as a daughter and sister. They did not butcher her and have her incinerated. They honored her humanity, and their own.