Complex sentence: The Doctor leaves her behind, assuring her she will not die, but she is electrocuted when they touch her.
Split into simpler sentences: The Doctor leaves her behind, assuring her she will not die. She is, however, electrocuted when they touch her.