Idaios advised the warriors to break off their dual because of the failing light.

Aias allowed Hektor to make the choice.

Hektor choose to quit and took off his sword and gave it to Aias as a gift.  Aias gave Hektor his purple sewn loin guard in exchange.