Freight was brought from the interior on muleback over narrow trails, and hardly any roads for wheeled vehicles existed. The mountains and heavily forested coast regions were extremely difficult to penetrate, but in the sparsely forested interior the old Indian trails furnished facilities for constant communication, which was astonishingly rapid considering the circumstances.
The people were very hospitable; to receive a guest was an honour; each ranch had special quarters for travellers, and the only pay the stranger could offer was to tell the news. Outside the ports no foreigner had ever been seen, and the first Englishman who visited São Paulo in 1809 was as much of a curiosity as an Esquimau would be to-day.
During John's stay in Rio, Brazil was little involved in foreign difficulties. In 1808 an expedition was sent from Pará, which took possession of Cayenne, but the place was restored to the French in 1815. In the south the breaking out of the Argentine revolution in 1810 was a temptation for the Prince Regent to increase Brazil's territory. After the expulsion of the Spaniards by the populace of Buenos Aires, the Spanish forces in Montevideo held that place against the patriots for four years. John sent an army into Uruguay in 1811 nominally to help the Spaniards, but he had to withdraw it because of British pressure. After the surrender of Montevideo by the Spaniards a civil war broke out amongst the patriots of Uruguay and the adjacent Argentine provinces. The warring factions trespassed on the territory of their Brazilian neighbours. John determined to seize the coveted north bank of the Plate for himself. In 1815 the celebrated guerrilla chief, Artigas, invaded the Seven Missions, which had been seized in 1801, and throughout that year and the next the Rio Grandenses fought desperately to expel him. Finally Artigas was decisively defeated, and the Portuguese army marched down the coast and entered Montevideo without opposition. They were welcomed by the factions opposed to Artigas, but the Buenos Aires government protested and Artigas kept up a resistance in the interior until he was overthrown by rival Argentine chieftains. From 1817 to 1821 Uruguay remained in the military occupation of Brazilian troops, and in the latter year it was formally annexed under the title of the Cisplatine Province.
Brazil had had to assume the burdens as well as reap the advantages of being an independent nation. The whole extravagant government with its swarm of hangers-on, who had bankrupted both nations together, was now saddled on Brazil alone. John's advisers regarded liberal principles as dangerous to civil order, and considered all French and North Americans as firebrands whose presence in Brazil might start the flame of revolution. The United States minister was treated as if he were a Jacobin agent, and American ships were searched for Napoleon's spies. However, the removal of the Court to Rio had set forces in motion which ultimately transformed Brazil. Free ports were open doors for ideas and education as well as merchandise. Free manufacturing and immigration diversified industry and spread energetic habits. The influx of so many educated Portuguese and the introduction of the printing-press stimulated a desire for instruction among the Brazilians. Ambition for employment in the public service, the road to which, under the Portuguese system, has always lain through the gates of a university, co-operated. A considerable educated class began to be formed, though the intellectual movement never extended into the body of the people. Through the former class the nation found a means of expression. A spirit of inquiry and unrest was roused, but the movement was intellectual rather than instinctive; theoretical rather than practical; from the top down, and directed more toward revolutionising the central government than developing local administration.
The first outbreak on Brazilian soil against absolutism was the Pernambuco revolution of 1817. Five lodges of Free Masons existed in the city; the priests themselves were most earnest preachers of political freedom; merchants and sugar-planters wanted lower taxes; the prosperity of the sugar trade had made the people self-confident. A conspiracy was formed which had the sympathy of many of the clergy and influential citizens. An attempt to arrest the principal agitators resulted in a riot; the troops were mostly Brazilian, and rose in favour of their compatriots, and the populace joined them. The governor fled, leaving the public departments, and the treasury containing a million dollars in the hands of the revolutionists. The movement became at once frankly separatist and republican. A Committee of Public Safety was named; the Portuguese flags were torn down; a temporary constitution proclaimed; a printing-press set up to publish a liberal newspaper. Messengers were despatched to the interior and to the neighbouring provinces to announce the overthrow of despotism and to invite co-operation, but they met with no enthusiastic reception. Fear of the aggressive Jacobinism of the city of Pernambuco cooled the slave-owners and conservatives, and the dignitaries on the revolutionary committee were shocked by the impetuosity of their radical colleagues. The insurgents had not had time to provide themselves with arms, and a Portuguese fleet from Bahia quickly blockaded the port. When the royal troops came up they found the interior of the province in civil war, and the radicals were soon backed into the city, where a short siege compelled them to capitulate. The more aggressive leaders were shot by court-martial and a military government was set up. Hundreds of prisoners were carried off to Bahia, where they remained until the great reaction of 1821.