Well, historically there were plenty of battles between ships & shore batteries in this period & as far as I know, the ships managed to win reasonably often, though fairly often the ships got seriously mangled too.