While the French repaired, Hood devoted 1794 to capturing the island of Corsica, intending to use it as a forward base for the blockade of Toulon. This took longer than expected, and by 1795 Hood had retired, replaced by William Hotham. Hotham faced the repaired French fleet under Pierre Martin, who led several sorties from Toulon, leading to two inconclusive British victories at the battles of Genoa and the Hyères Islands. Martin then deployed smaller squadrons on destructive operations against British commerce. Due to military success in Italy and diplomatic negotiations with Spain, by 1796 Britain's allies had broken away; Spain declared war on Britain in September, leaving the British fleet exposed between two powerful enemies. Unwilling to risk destruction of their fleet in the Mediterranean, the Admiralty withdrew the British, now under the command of Sir John Jervis, to the Tagus, abandoning the Mediterranean.