Between 1808 and 1811, Mends operated extensively against French held harbours and coastal shipping on the Northern Spanish coast. His operations were a serious nuisance to the French and he was consequently thanked by the Spanish Junta and made a nominal Spanish Major General. Between 1811 and 1814, Mends was recalled to Britain and served as superintendent of the prison hulks in Portsmouth harbour.