You must tell your family your wishes. If you have any doubts, read this post, this is the first paragraph, but DO read the whole thing.
All family members should convey their dying wishes to their loved ones. Can you, or your loved ones, answer these questions? If not, you need to read the full post (link below) and then my book. Far nearer to death than life, yet her eyes, pale blue like a set of china cups my mother once had, were suffused with light, and her eyes showed life and that was all that remained. They were mostly drowsy now and half-opened: her body was a discarded husk, wracked by strokes, and further insulted by dementia. She recognized no one and spoke not at all. She had decubitus ulcers over each hip, deep and foul, eating into the underlying tissue; she could not lay on her back: the contractures from her strokes had pushed her frail legs up to her chest. She lay in a fetal position, at the end of life, but she had no cushion of amniotic fluid, only a thin emergency department mattress and a few pillows. She was incontinent of stool and urine, and when the ambulance off-loaded her onto the emergency stretcher, her adult brief was heavy and soaked. The stench of piss, strong and rank with (I suspected) white cells and bacteria, was overwhelming.