Four years before Maurice's retirement Portugal broke loose from Spain, and that part of Brazil which had escaped conquest by the Dutch promptly threw off the Spanish yoke. In Europe Holland and the new Portugal were naturally in alliance, but the former was not magnanimous enough to stop her aggressions in Brazil, and the latter was too weak to resent them. Among the Brazilians dissatisfaction began to brew as soon as Maurice left. The prohibition of religious processions, the severe financial crisis among planters who were unable to pay off the heavy mortgages which they had given when they purchased confiscated plantations, the low price of sugar, and the impulse to national feeling given by the news of the success of the mother country in achieving independence all co-operated.
The opportunity brought forth the man. The head of the rebellion was John Fernandes Vieira, who is the great creator of the Brazilian nationality. A native of Madeira, he ran away as a boy to seek his fortune in Brazil. Engaged at first in menial employments, his honesty and capacity soon enabled him to strike out for himself as a sugar planter. When the Dutch attacked Pernambuco in 1630 he took up arms, and only surrendered when Bom Jesus fell. Convinced that further resistance was useless he returned to his business and within ten years was the richest man in the colony. Though a devoted Catholic and a patriotic Portuguese, he was one of Maurice's most trusted advisers. When the Prince departed John Fernandes thenceforward devoted his life to the expulsion of the Dutch.
The first revolt occurred in Maranhão, where the small Dutch garrison had to abandon that captaincy as early as 1644. In Pernambuco John Fernandes organised a formidable conspiracy, and letters were despatched to the new Portuguese king asking his aid. John IV. did not dare to comply openly, for such action might have involved him in a war with the States-General, but the governor-general at Bahia was as unscrupulous as he was patriotic, and secretly afforded the conspirators every facility in his power. The celebrated chiefs of the guerrilla fighting of 1630 to 1635, Vidal, Camarrão, and Dias, were only too anxious to have another chance, and gathered their bands in the wilderness. Arms were obtained from Bahia, and in 1645 the insurrection broke out. The first move was to have been the massacre of the principal Hollanders, but the plot was discovered and the conspirators fled for their lives to the interior. At a place called Tabocas John Fernandes gathered a motley crew of a few hundred together. Only three hundred of his followers had muskets, but they were protected by marshy ground in front, and the hill was surrounded by almost impenetrable cane-brakes. There on the 3rd of August the Dutch troops to the number of a thousand found and attacked the Brazilians. The bulk of the population was standing aloof, his camp was full of mutiny, nevertheless John Fernandes stood firm. The Dutch charged confidently, but they could not use their firearms to advantage, and the Brazilians showed the traditional valour of their race in the use of pike and sword. The Dutch were not able to dislodge the rebels, and after losing three hundred and seventy men they retreated to Pernambuco, leaving the insurgents with all the moral prestige of victory.
The whole province rose; the troops, which had come from Bahia ostensibly to aid the Dutch in pacifying the province, went over en masse to the patriots; the Dutch garrisons in the outlying towns were everywhere attacked and everywhere retreated. A few grudgingly paid mercenaries were not the material with which to defend such an empire. Within a few months the Dutch were expelled from the interior and shut themselves up in the fortified seaports waiting for re-enforcements. The Indians and guerrillas spread fire and destruction through Itamarica, Parahyba, Rio Grande do Norte, and Ceará. In spite of this sudden success the position of the patriots was very critical. Without the aid of regular troops they could hardly hope to make head against the Dutch so soon as the latter received adequate re-enforcements. The news of the insurrection aroused great indignation in Holland. The house of the Portuguese ambassador was surrounded by an infuriated mob, and his government had to disavow the rebellion. Willing as John IV. might be to help the Brazilians, he dare not. By the middle of 1646 an able commander, von Schoppke, arrived from Holland with a fine army. At first John Fernandes and the militia did not dare meet him in the field. The provincials hovered about the Dutch columns, cutting off detachments, and burning sugar plantations in the line of march. John Fernandes set the example by ordering the destruction of his own property.
In 1647 Barreto de Menezes, an able professional soldier, arrived in Brazil bearing a secret commission from the Portuguese king. The bickering and despairing provincials made no difficulty about recognising it, and Barreto at once began uniting the scattered militia bands and the few regulars who had clandestinely come up from Bahia.
A few miles south of Pernambuco the low hills encroach on the coast-plain, leaving only a narrow pass between themselves and the marshes. Schoppke made a sortie along the coast road with the largest part of his force,—about four thousand men,—and there at the hills of Guararapes found the patriot army, numbering two thousand two hundred. Encamped across the level ground they barred his way, with the evident intention of giving him battle, and there on the 18th of August, 1648, was fought out the question whether Brazil should be Dutch or Portuguese. The defeat of the patriots would have meant the hopeless collapse of the rebellion and the giving up by poor little Portugal of the last vestige of her claim to Brazil. Success meant that they might prolong the war for years and finally tire out Holland, or give the Portuguese government a chance to do something by negotiation.
The battle began with the Dutch taking possession of the higher ground whence their artillery inflicted some damage, but when they charged down the hill, attempting to outflank and surround the Brazilians, there ensued a confused and desperate struggle with cold steel. The regulars proved no match for these farmers, who were fighting for their homes and religion. The Dutch battalions broke and fled up the hill, followed by the Brazilians. Then the Dutch reserve came into action and the battle rolled back to the low ground, where the result was decided face to face and man to man. Some of the braver of the Dutch imprudently went through the Brazilian lines into the marshes, where they suffered terrible slaughter at the hands of the reserve. More than a thousand Hollanders perished, with seventy-four officers. Thirty-three standards remained in the hands of the Brazilians, and the remnants of the Dutch army fled to the shelter of the walls of Pernambuco. The cowardice shown by many of his troops is the only excuse offered by the Dutch general for this shameful defeat suffered at the hands of a militia inferior not only in equipment and artillery, but in numbers and advantage of position.
The descendants of the victors at Guararapes have never forgotten that it was a Brazilian and not a Portuguese triumph. The Brazilians proved to their own satisfaction that their resources were sufficient to defend their institutions, and it has been well said that on that day the Brazilian nation was born.
The parsimonious merchants whose money was invested in the Company made a half-hearted effort to retrieve this unexpected reverse, but re-enforcements were sent out so grudgingly that a similar sortie next year was even more overwhelmingly defeated at the very same place. Even then the Brazilian hopes of ultimate success would have been small if at this very juncture the world-power of Holland had not received its first great check by the breaking out of the war with Oliver Cromwell. With English fleets sweeping the North Sea and Blake's cannon thundering at the Texel, the States-General had no forces to spare on far-away Brazil. The patriots kept the Dutch shut up in Pernambuco and were undisputed masters of the rest of the province. So long as communication by sea remained open the Dutch, however, could maintain themselves indefinitely. Re-enforcements might come at any time from Holland and the negotiations by Portugal were uncertain, and might, indeed, lead to Brazil's being exchanged for an advantage elsewhere.
John Fernandes steadfastly maintained the siege, urging his followers not to lay down their arms so long as a Dutchman remained in Brazil. The pusillanimous Portuguese king did not dare help the Pernambucanos, and neither was he honest enough to abide by the treaties he had made with Holland, giving up all claim to North Brazil. Matters remained in this anomalous position until 1654, when John Fernandes by a single audacious stroke cut through the tangle made by complicated and timid European diplomacy.