Twilight resurrects Thunderwing

This is how Twilight revives Thunderwing goes in Thunderwing Returns.

[We see Luna, Ratchet, Starlight, and Trixie groundbridge to the cooridinates of the location of the final battle with Thunderwing]

Ratchet: The location where Thunderwing was killed by Twilight.

Starlight Glimmer: Why would Twilight come here?

Trixie: How am I supposed to know?

Princess Luna: I fear Thunderwing's mind is dominant, and clearly he came here for one purpose -- To use the Dark Energon to resurrect his own body.

Ratchet: I too fear that.

Starlight Glimmer: No. Twilight would never let him do that. Just like she didn't let Thunderwing hurt me and Trixie back at Autobot Outpost Omega One.

Trixie: Uh-huh.

Ratchet: I hope you're both right.

[Princess Luna, Ratchet, Starlight, and Trixie then see Twilight using dark magic to pull Thunderwing's corpse out of the ocean and attach one end of a Cortical Pyschic Patch to his head and the other end to her horn]

Starlight Glimmer: Ratchet, don't hurt Twilight.

Trixie: Yes. Please don't harm the Princess

Ratchet: That isn't Twilight.

Princess Luna: That's Thunderwing.

Starlight Glimmer: No. It's Twilight. I'm sure.

Trixie: Me too.

[Ratchet prepares to remove the patch from Thunderwing's head]

Ratchet: Farewell, Thunderwing.

[Twilight swats away Ratchet and Princess Luna]

Starlight Glimmer: Hey. Twilight, you have to fight it!

Trixie: Stop!

Twilight Sparkle: Starlight, Trixie, is that you?

Starlight Glimmer: Yeah, Twilight. It's us.

Trixie: Trixie and Starlight!

Thunderwing: [in Twilight's mind] Unbelievable!

[Twilight holds her head in pain and collaspes]

Starlight Glimmer: Twilight!

Trixie: Princess!

Twilight Sparkle: [with Thunderwing's voice] Twilight can't hear you anymore.

Starlight Glimmer: You get out of my teacher's body!

Trixie: Now!

Twilight Sparkle: [with Thunderwing's voice] Oh I will get out of your beloved teacher's body, my dear Starlight Glimmer, after I resurrect my own body.

[Twilight walks over to Thunderwing's corpse and holds the Dark Energon shard up]

Starlight Glimmer: No!

Trixie: No! Don't!

[Twilight shoves the Dark Energon shard into Thunderwing's chest. Starlight and Trixie watch in horror as the shard disappears into Thunderwing's chest, reviving him. Thunderwing's red eyes snap open]