shap

Dictionary of The Vulgar Tongue by Francis Grose

A hat: corruption of CHAPEAU. CANT.