FOREST OF THE DEAD
"she sacrifices herself to save the Doctor's life.
In turn he is able to upload her consciousness into a computer,
in which she is able to live on. He achieves this via the
use of a sonic screwdriver given to her by his own future self."
Original Post @