Good question, I guess you'd be considered with a foot on the shore, a foot on the boat, requiring a balance check Dc 10 to avoid... getting wet.... If not you can just put your foot in the water a bit.
But anyways, don't you have a reach weapon, you can easily strike them from the shore.