Lieutenant Cook, having laid in a fresh stock of beef, water, and wine, set sail from the island of Madeira, in the night of the 18th of September, and proceeded on his voyage. By the 7th of November several articles of the ship's provisions began to fall short; for which reason, the lieutenant determined to put into Rio de Janeiro. This place he preferred to any other port in Brazil or to Falkland's Islands, because he could there be better supplied with what he wanted, and had no doubt of meeting with a friendly reception.
During the run between Madeira and Rio de Janeiro, Lieutenant Cook and the gentlemen in the Endeavour had an opportunity of determining a philosophical question. On the evening of the 29th of October, they observed that luminous appearance of the sea which has so often been mentioned by navigators, and which has been ascribed to such a variety of causes. Flashes of light appeared to be emitted, exactly resembling those of lightning, though without being so considerable; and such was the frequency of them, that sometimes eight or ten were visible almost at the same moment. It was the opinion of Mr. Cook and the other gentlemen, that these flashes proceeded from some luminous animal; and their opinion was confirmed by experiment.
At Rio de Janeiro, in the port of which Lieutenant Cook came to an anchor on the 13th of November, he did not meet with the polite reception that, perhaps, he had too sanguinely expected. His stay was spent in continual altercations, with the viceroy, who appeared not a little jealous of the designs of the English: nor were all the attempts of the lieutenant to set the matter right, capable of producing any effect. The viceroy was by no means distinguished either by his knowledge or his love of science; and the grand object of Mr. Cook's expedition was quite beyond his comprehension. When he was told that the English were bound to the southward, by the order of his Britannic majesty, to observe a transit of the planet Venus over the Sun, an astronomical phenomenon of great importance to navigation, he could form no other conception of the matter, than that it was the passing of the North star through the South Pole.
During the whole of the contest with the viceroy, Lieutenant Cook behaved with equal spirit and discretion. A supply of water and other necessaries could not be refused him, and those were gotten on board by the 1st of December. On that day the lieutenant sent to the viceroy for a pilot to carry the Endeavour to sea; but the wind preventing the ship from getting out, she was obliged to continue some time longer in the harbour. A Spanish packet having arrived at Rio de Janeiro on the 2d of December, with dispatches from Buenos Ayres for Spain, the commander, Don Antonio de Monte Negro y Velasco, offered, with great politeness, to convey the letters of the English to Europe. This favour Lieutenant Cook accepted, and gave Don Antonio a packet for the secretary of the Admiralty, containing copies of all the papers that had passed between himself and the Viceroy. He left, also, duplicates with the viceroy, that he might forward them, if he thought proper, to Lisbon.