Final answer:
Odysseus ends the Trojan War using the Trojan Horse, misleading the Trojans into bringing Greek soldiers within their city walls leading to Troy's defeat.
Step-by-step explanation:
The person who ends the Trojan War is Odysseus, and he accomplishes this through a cunning military strategy involving the Trojan Horse. This strategy entailed creating a large wooden horse that was presented as a gift to the Trojans, which they brought inside their city walls. Hidden inside the horse were Greek soldiers who, under the cover of night, emerged and opened the gates of Troy, leading to the eventual fall of the city and the end of the war.