My mother was purposely financially destitute when she died post dementia. It was the only way for the state to help pay for services without collecting everything (house, car, pension, etc). Later we were able to put her on hospice and that offered much more assistance.
I cannot describe the stress in trying to figure out financials as a loved one is dying. It led to many sleepless nights...