My grandmother passed away in a similar fashion, she kept having to swallow pills to keep her alive but she eventually started spitting them out since she know they wouldn't work.
She had a cancer that affected the nerves.
I feel bad for you, since a mother is something much closer to you :c