She then set sail into the largely uncharted ocean to the south , stopping at the Pacific islands of Huahine , Borabora , and Raiatea which Cook claimed for Great Britain . She then set sail into the largely uncharted ocean to the south , stopping at the Pacific islands of Huahine , Borabora , and Raiatea to allow Cook to claim them for Great Britain .