Nelson, chasing the French, stopped at Gib to provision. This done they took the opportunity to wash ships underwear. While this was still wet and soapy a tip came from one Donald Campbell, who was, oddly, in the Portuguese Navy.
Victory went roaring off to catch Villeneuve, leaving behind all the underwear!
Why this was not put into the Hornblower books I will never know!