I guess we need a deus ex machina of sorts considering she is the main character in a serialized show.
Now that I think about it, I'd be curious to know what the rest of Homeland's season would look like had Carrie been shot and killed. I'm picturing Mandy Patinkon doing lots of song and dance numbers.