The limitations with cannon (usage here meaning muzzle loading, smooth bore, black powder cannon, not in any way "modern" artiliary or guns) were fascinating...and the modern misconceptions as to the tactics involved in their usage likewise fascinating.
Naval warfare seldom was about "blowing the enemy ship(s) out of the water", so much as literally beating them into submission. Once this was acheived, it was game over.
Since it was a good, long while before explosive shells, and safely reliable ones at that, were to enter the battle arena, tactics mainly centered around incapacitating the enemy's ability to maneuver...meaning to attack the masts, sails, and rigging. It also meant anybody topside was fair game, as well.
In a running battle, the lead ship would attempt to outrun the pursuer...and the pursuing ship would use bow guns to attempt to slow the fleeing ship by trying to damage the ship's ability to sail and maneuver. NOT an easy task, and certainly NOT an easy task with the guns they typically had mounted in positions to do this.
The hulls of a man o' war were akin to the modern battleships we knew of in WWII, as well. Somewhere I've a book on such ships, and no kidding...some of them had three foot thick Oak hulls. Trying to incapacitate such a ship through side hull damage was nigh impossible, unless you were pretty close. But the stern of such ships had nowhere near as thick a hull...and a maneuver called "Crossing the T", if successfully performed, was exceedingly deadly...because it involved firing volley after volley from the attacking ship's guns into the stern of the ship they were passing behind.
Ever heard the term "shiver me timbers"? The term "shiver" describes what happens when a cannon ball slams its way through a wooden beam or mast...basically, the wood "shivers", or explodes into deadly wooden shrapnel. Those cannon balls would rip their way from stern to bow, filling whole compartments with wooden shrapnel and butchering everybody along the way.
We may THINK the old cannons were rather limited in their capabilities...and they were, by modern standards...but those men of iron on the wooden ships knew how to extract every bit of deadly purpose out of them.
Think, for example, about dropping 24 pound, red hot cannon balls onto the rigging/decks of ships.
Or chain or bar shot.
ANYWAY...battle between military units typically went to submission/surrender. There was a whole honor issue involved in this, which is pretty fascinating in itself.