The" OED" notes that in the 17th and 18th centuries, it was identified as a sailor's cheer or salute, and suggests that it was possibly related to words like "heeze" and "hissa", which are cognates of "hoist".