Both my parents-in-law chose when they died, up to a point. FiL was admitted after a heart attack (one of many. Yes, I mean many). ubes were pushed into him to feed and water him. He pulled them out. Young doc came to put them back in. FiL stayed the doc's hand and died next day. He knew he was dying and wanted to just let it happen, not delay it.
Similarly, MiL, admitted with diabetic complications. She would not eat or drink. She'd had enough.
Nobody did anything wrong, as far as we can tell, except perhaps the hysterical person who answered the phone. Good on the nurse for keeping her cool while being yelled at by an ignoramus.