 Jervis' ships besieged Cádiz but were repelled by unexpected Spanish resistance.The Spaniards, under Vice-Admiral Mazarredo, organized a flotilla of small gunboats converted from yachts.With a clear advantage in the harbour's shallow waters, these vessels manoeuvred in the darkness and savaged Jervis' heavy ships of the line, striking at their vulnerable areas with impunity.