I am sorry to hear about your mother.
The situation you describe sounds very, very difficult. Keep in mind that you are no doubt emotionally on a razors edge. Realize that people, even doctors are human beings and are subject to making mistakes and sometimes display a lack of couth. That doesn't change the things that have happened, but it is something to consider.
If you can in some way find something to make these last moments less chaotic, less hurtful, then please do your best to do so.
My thoughts are with you and let love guide your choices.