Lieutenant Cook now began to prepare for his departure. On the 7th of July, the carpenters were employed in taking down the gates and palisadoes of the fortification; and it was continued to be dismantled during the two following days. Our commander and the rest of the gentlemen were in hopes that they should quit Otaheite without giving or receiving any further offence; but in this respect they were unfortunately disappointed. The lieutenant had prudently overlooked a dispute of a smaller nature between a couple of foreign seamen and some of the Indians, when he was immediately involved in a quarrel, which lie greatly regretted, and which yet it was totally out of his power to avoid. In the middle of the night, between the 8th and the 9th, Clement Webb and Samuel Gibson, two of the marines, went privately from the fort. As they were not to be found in the morning, Mr. Cook was apprehensive that they intended to stay behind; but, being unwilling to endanger the harmony and goodwill which at present subsisted between our people, and the natives, he determined to wait a day for the chance of the men's return. As, to the great concern of the lieutenant, the marines were not come back on the morning of the tenth, inquiry was made after them of the Indians, who acknowledged that each of them had taken a wife, and had resolved to become inhabitants of the country. After some deliberation, two of the natives undertook to conduct such persons to, the place of the deserters' retreat, as Mr. Cook should think proper to send; and, accordingly, he dispatched with the guides a petty officer and the corporal of the marines. As it was of the utmost importance to recover the men, and to do it speedily, it was intimated to several of the chiefs who were in the fort with the women, among whom were Tubourai Targaide, Tomio, and Oberea, that they would not be to leave it till the fugitives were returned; and the lieutenant had the pleasure of observing, that they received the intimation with very little indications of alarm, and with assurances, that his people should be secured and sent back as soon as possible. While this transaction took place at the fort, our commander sent Mr. Hicks in the pinnace to fetch Tootahah on board the ship. Mr. Cook had reason to expect, if the Indian guides proved faithful, that the deserters, and those who went in search of them, would return before the evening. Being disappointed, his suspicions increased, and thinking it not safe, when the night approached, to let the persons whom he had detained as hostages continue at the fort, he ordered Tubourai Tamaide, Oberea, and some others, to be taken on board the Endeavour; a circumstance which excited so general an alarm, that several of them, and especially the women, expressed their apprehensions with great emotion and many tears. Webb, about nine o'clock, was brought back by some of the natives, who declared that Gibson, and the petty officer and corporal, would not be restored till Tootahah should be set at liberty. Lieutenant Cook now found that the tables were turned upon him: but, having proceeded too far to retreat, he immediately dispatched Mr. Hicks in the long-boat, with a strong party of men, to rescue the prisoners. Tootahah was, at the same time, informed, that it behoved him to send some of his people with them, for the purpose of affording them effectual assistance. With this injunction he readily complied, and the prisoners were restored without the least opposition. On the next day they were brought back to the ship, upon which the chiefs were released from their confinement. Thus ended an affair which had given the lieutenant a great deal of trouble and concern. It appears, however, that the measure which he pursued was the result of an absolute necessity; since it was only by the seizure of the chiefs that he could have recovered his men. Love was the seducer of the two marines. So strong was the attachment which they had formed to a couple of girls, that it was their design to conceal themselves till the ship had sailed, and to take up their residence in the island.

Tupia was one of the natives who had so particularly devoted himself to the English, that he had scarcely ever been absent from them during the whole of their stay at Otaheite. He had been Oberea's first minister, while she was in the height of her power; and he was also chief priest of the country. To his knowledge of the religious principles and ceremonies of the Indians, he added great experience in navigation, and a particular acquaintance with the number and situation of the neighbouring islands. This man had often expressed a desire to go with our navigators, and when they were ready to depart, he came on board, with a boy about thirteen years of age, and entreated that he might be permitted to proceed with them on their voyage. To have such a person in the Endeavour, was desirable on many accounts; and therefore, Lieutenant Cook gladly acceded to his proposal.

On the 13th of July, the English weighed anchor: and as soon as the ship was under sail, the Indians on board took their leaves, and wept with a decent and silent sorrow, in which there was something very striking and tender. Tupia sustained himself in this scene with a truly admirable firmness and resolution; for, though he wept, the effort he made to conceal his tears concurred, with them, to do him honour.

The stay of our voyagers at Otaheite was three months, the greater part of which time was spent in the most cordial friendship with the inhabitants, and a perpetual reciprocation of good offices. That any differences should happen was greatly regretted on the part of Lieutenant Cook and his friends, who were studious to avoid them as much as possible. The principal causes of them resulted from the peculiar situation and circumstances of the English and the Indians, and especially from the disposition of the latter to theft. The effects of this disposition could not always be submitted to or prevented. It was happy, however, that there was only a single instance in which the differences that arose were attended with any fatal consequence; and by that accident the lieutenant was instructed to take the most effectual measures for the future prevention of similar events. He had nothing so much at heart, as that in no case the intercourse of his people with the natives should be productive of bloodshed.

The traffic with the inhabitants for provisions and refreshments, which was chiefly under the management of Mr. Banks, was carried on with as much order as in any well regulated market in Europe. Axes, hatchets, spikes, large nails, looking-glasses, knives, and beads, were found to be the best articles to deal in; and for some of these, every thing which the inhabitants possessed might be procured. They were, indeed, fond of fine linen cloth, whether white or printed; but an axe worth half-a-crown would fetch more than a piece of cloth of the value of twenty shillings.

It would deviate from the plan of this narrative, to enter into a minute account of the nature, productions, inhabitants, customs, and manners of the countries which were discovered or visited by Mr. Cook; or to give a particular detail of every nautical, geographical, and astronomical observation. It will be sufficient here to take notice, that our commander did not depart from Otaheite without accumulating a store of information and instruction for the enlargement of knowledge and the benefit of navigation.

While the Endeavour proceeded on her voyage under an easy sail, Tupia informed Lieutenant Cook, that, at four of the neighbouring islands, which he distinguished by the names of Huaheine, Ulietea, Otaha, and Bolabola, hogs, fowls and other refreshments, which had latterly been sparingly supplied at Otaheite, might be procured in great plenty. The lieutenant, however, was desirous of first examining an island that lay to the northward, and was called Tethuroa. Accordingly, he came near it; but having found it to be only a small low island and being told, at the same time, that it had no settled inhabitants, he determined to drop any further examination of it, and to go in search of Huaheine and Ulietea, which were described to be well peopled, and as large as Otaheite.

On the 15th of July, the weather being hazy, with light breezes and calms succeeding each other, so that no land could be seen, and little way was made, Tupia afforded an amusing proof, that, in the exercise of his priestly character, he knew how to unite some degree of art with his superstition. He often prayed for a wind to his god Tane, and as often boasted of his success. This, indeed, he took a most effectual method to secure; for he never began his address to his divinity, till he perceived the breeze to be so near, that he knew it must approach the ship before his supplication could well be brought to a conclusion.

The Endeavour, on the 16th, being close in with the north-west part of Huaheine, some canoes soon came off, in one of which was the king of the island and his wife. At first the people seemed afraid; but, upon seeing Tupia, their apprehensions were in part dispersed, and, at length, in consequence of frequent and earnestly repeated assurances of friendship, their majesties, and several others, ventured on board the ship. Their astonishment at every thing which was shewn them was very great; and yet their curiosity did not extend to any objects but what were particularly pointed out to their notice. When they had become more familiar, Mr. Cook was given to understand, that the king was called Oree, and that he proposed as a mark of amity, their making an exchange of their names. To this our commander readily consented; and, during the remainder of their being together, the lieutenant was Oree, and his majesty was Cookee. In the afternoon, the Endeavour having come to an anchor, in a small but excellent harbour on the west side of the island, the name of which was Owharre, Mr. Cook, accompanied by Mr. Banks, Dr. Solander, Mr. Monkhouse, Tupia, and the natives who had been on board ever since the morning, immediately went on shore. The English gentlemen repeated their excursions on the two following days; in the course of which they found that the people of Huaheine had a very near resemblance to those of Otaheite, in person, dress language, and every other circumstance; and that the productions of the country were exactly similar.

In trafficking with our people, the inhabitants of Huaheine displayed a caution and hesitation which rendered the dealing with them slow and tedious. On the 19th, therefore, the English were obliged to bring out some hatchets, which it was at first hoped there would be no occasion for, in an island that had never before been visited by any European. These procured three very large hogs; and as it was proposed to sail in the afternoon, Oree and several others came on board to take their leave. To the king Mr. Cook gave a small pewter plate, on which was stamped this inscription; 'His Britannic Majesty's ship Endeavour, Lieutenant James Cook, commander, 16th July, 1769, Huaheine.' Among other presents made to Oree, were some medals or counters, resembling the coin of England, and struck in the year 1761; all of which, and particularly the plate he promised carefully and inviolably to preserve. This the lieutenant thought to be as lasting a testimony as any he could well provide, that the English had first discovered the island; and having dismissed his visitors, who were highly pleased with the treatment they had met with, he sailed for Ulietea, in a good harbour of which he anchored the next day.