Because Brazil does have ships of their own, and plenty of them. They're just coming from another direction.
Cartagena falls and Nevis is besieged and blockaded. Carriers sink all the time. Port Royal starves and hundreds of thousands die every year. It's not looking good for the pirates.