Time for Yesterday

In order to increase his city's odds of survival, Zar has Wynn kidnapped and betrothed, forcing her father to change sides.

The Enterprise men manage to convince him to come back with them and deal with the Guardian, although he insists that he will return afterward to fight in the battle despite the prophecy.

The Guardian explains that it abandoned its duties to search for its Creators, who long ago evolved into beings of pure energy and entered another dimension.

Its fundamental programming required it to answer their summons and bring them home, and the resource drain connected to the search resulted in its apparent malfunction.

McCoy convinces Zar to undergo treatment and physical therapy aboard the Enterprise, healing his limp and giving him a greater chance of survival in the coming battle.

In order to fulfill the second half of the prophecy, Spock puts on Zar's armor and shows himself to the army, leading them to believe their leader has risen whole from being "death-struck".