How can people with terminal brain cancer die. Is it painful or will she just go to sleep.?

Rarely painful. Headache can be a problem in some cases. But no severe pain. Patients just go to sleep as the tumor causes more compression of the brain inside. So it is commonly a peaceful death.