getting aboard the man-of-war without being seen had been no small task ; his right side was bruised from being slammed against the side of the ship as he hung from the boarding nets , struggling to pull himself up to the rail .