A storm blew John Paul Jones's ships out of the forth before he could bombard Leith and Edinburgh.
No cannons involved, but the most historically important event like this was the wreck of the Chinese/Mongol invasion fleet that tried to conquer Japan in 1274.