I don't think it has anything to do with Peter. She already knew when she is going to die and how she's going to die, it'll happen no matter what and there's nothing anybody can do to stop it. Her brain can't take it any longer with or without Peter.