Sentence:  The <WSD>castle</WSD> was perhaps a figurative name for a close headpiece deduced from its enclosing and defending the head, as a castle did the whole body; or a corruption from the Old French word "casquetel", a small or light helmet. 
Meaning of the word marked with <WSD> tags:  A close helmet.