Tis is the battle of algeciras, initially a french vistory, but the RN restored the score in the second part of the battle.

http://en.wikipedia.org/wiki/Algeciras_Campaign

I initially thought this to be the battle of the Nile, as both were fought in close proximity to a shore.