It is clear that the Trojan War didn't end on the battlefield, i.e. in front of the city wall after the fight between Achilles and Hector. The end of the Iliad is not the end of the war. Homer didn't tell the story of the entire war, only "the fury of Achilles, the son of Peleus". The fight between Achilles and Hector, even if it is the peak point of the Iliad, is not the turning point of the war itself.