 The Brazilian Government solved the problem by recruiting 50 officers and 500 seamen in secret in London and Liverpool, many of them veterans of the Napoleonic Wars, and appointed Thomas Cochrane as commander-in-chief.On 1 April 1823, a Brazilian squadron of 6 ships sailed for Bahia.After an initial disappointing engagement with a superior Portuguese fleet, Cochrane blockaded Salvador.