The phrase "hanged onto hat" could be replaced with a number of different synonyms that convey the same message or meaning. One option might be "clung to cap," which similarly suggests that one is holding onto their headwear tightly. Alternatively, one could say "maintained a firm grip on their hat," which emphasizes the importance of keeping the hat in place. Other options might include "secured their headgear," "held tight to their chapeau," or "kept their lid from flying away." Ultimately, the choice of synonym will depend on the context and tone of the sentence, as well as the writer's preference for language and style.