The 'castles' of the ships were places where soldiers were placed in times of trouble.
Imagine yourself as a captain and you see an enemy ship ahead. What would you say to your soldiers in the castles?
What kind of hand weapons would you tell them to use?