her anchor was fearsomely held in place by heavy chains of wrought iron , and apart from her three gun decks , she also had cannons on her upper deck and six huge carronades lined up towards her stern .