I think she is definitely going to die. She's just gone off to Gallifrey to do something else first. God knows what, but I imagine we'll find out in a future episode.
I thought the twist that it was the Doctor who'd forgotten and not Clara was excellently done.