This is how Quintessa takes over Optimus and Twilight goes in My Little Pony Transformers: The Last Knight.
[We see Optimus and Twilight still floating through space]
Computerized Voice: Optimus Prime and Twilight Sparkle re-entering Cybertron.
[We see Optimus and Twilight crash land on Cybertron]
Optimus Prime: My home! What happened to my world?!
Twilight Sparkle: Who would do such a horrible thing?!
[They then see Quintessa]
Quintessa: Your world is dying, Optimus Prime. I've been waiting for you both. Come, meet your maker.
Optimus Prime: You are my creator?
Quintessa: I am Quintessa. The Prime of Life.
Optimus Prime: [draws his sword] What have you done to my home?! [tries to strike her]
Quintessa: [hisses and blasts his sword away then chains him and Twilight, who was about to strike her as well, down] You dare to strike your god?! [blasts them both] Your war doomed Cybertron!
Optimus Prime: Megatron started the war!
Infernocus: [growls, walks up to them both, then kicks them both to get them on their knees]
Quintessa: You destroyed your world! [slaps them both giving them red scars]
[Optimus and Twilight turn to look at Infernocus, only for him to turn their heads to look back at Quintessa]
Quintessa: And you're both going to fix it. Or the race of Transformers dies forever.
[She puts their hands on their faces]
Quintessa: My perfect creations. I made Optimus, Twilight. But it was I who put you in your mother's womb. As the Element of Magic, you are useful to my plans. You are both mine to command.