From the Sandwich Islands, Cook sailed north and then northeast to explore the west coast of North America north of the Spanish settlements in Alta California.
He sighted the Oregon coast at approximately 44°30′ north latitude, naming Cape Foulweather, after the bad weather which forced his ships south to about 43° north before they could begin their exploration of the coast northward.
He unknowingly sailed past the Strait of Juan de Fuca and soon after entered Nootka Sound on Vancouver Island.
He anchored near the First Nations village of Yuquot.
Cook's two ships remained in Nootka Sound from 29 March to 26 April 1778, in what Cook called Ship Cove, now Resolution Cove, at the south end of Bligh Island.
Relations between Cook's crew and the people of Yuquot were cordial but sometimes strained.
In trading, the people of Yuquot demanded much more valuable items than the usual trinkets that had been acceptable in Hawaii.
Metal objects were much desired, but the lead, pewter, and tin traded at first soon fell into disrepute.
The most valuable items which the British received in trade were sea otter pelts.
During the stay, the Yuquot "hosts" essentially controlled the trade with the British vessels; the natives usually visited the British vessels at Resolution Cove instead of the British visiting the village of Yuquot at Friendly Cove.

After leaving Nootka Sound in search of the Northwest Passage, Cook explored and mapped the coast all the way to the Bering Strait, on the way identifying what came to be known as Cook Inlet in Alaska.
In a single visit, Cook charted the majority of the North American northwest coastline on world maps for the first time, determined the extent of Alaska, and closed the gaps in Russian (from the west) and Spanish (from the south) exploratory probes of the northern limits of the Pacific.

By the second week of August 1778, Cook was through the Bering Strait, sailing into the Chukchi Sea.
He headed northeast up the coast of Alaska until he was blocked by sea ice at a latitude of 70°44′ north.
Cook then sailed west to the Siberian coast, and then southeast down the Siberian coast back to the Bering Strait.
By early September 1778 he was back in the Bering Sea to begin the trip to the Sandwich (Hawaiian) Islands.
He became increasingly frustrated on this voyage and perhaps began to suffer from a stomach ailment; it has been speculated that this led to irrational behaviour towards his crew, such as forcing them to eat walrus meat, which they had pronounced inedible.
From the Sandwich Islands, Cook sailed north and then northeast to explore the west coast of North America north of the Spanish settlements in Alta California. He sighted the Oregon coast at approximately 44°30′ north latitude, naming Cape Foulweather, after the bad weather which forced his ships south to about 43° north before they could begin their exploration of the coast northward. He unknowingly sailed past the Strait of Juan de Fuca and soon after entered Nootka Sound on Vancouver Island. He anchored near the First Nations village of Yuquot. Cook's two ships remained in Nootka Sound from 29 March to 26 April 1778, in what Cook called Ship Cove, now Resolution Cove, at the south end of Bligh Island. Relations between Cook's crew and the people of Yuquot were cordial but sometimes strained. In trading, the people of Yuquot demanded much more valuable items than the usual trinkets that had been acceptable in Hawaii. Metal objects were much desired, but the lead, pewter, and tin traded at first soon fell into disrepute. The most valuable items which the British received in trade were sea otter pelts. During the stay, the Yuquot "hosts" essentially controlled the trade with the British vessels; the natives usually visited the British vessels at Resolution Cove instead of the British visiting the village of Yuquot at Friendly Cove.
After leaving Nootka Sound in search of the Northwest Passage, Cook explored and mapped the coast all the way to the Bering Strait, on the way identifying what came to be known as Cook Inlet in Alaska. In a single visit, Cook charted the majority of the North American northwest coastline on world maps for the first time, determined the extent of Alaska, and closed the gaps in Russian (from the west) and Spanish (from the south) exploratory probes of the northern limits of the Pacific. 
By the second week of August 1778, Cook was through the Bering Strait, sailing into the Chukchi Sea. He headed northeast up the coast of Alaska until he was blocked by sea ice at a latitude of 70°44′ north. Cook then sailed west to the Siberian coast, and then southeast down the Siberian coast back to the Bering Strait. By early September 1778 he was back in the Bering Sea to begin the trip to the Sandwich (Hawaiian) Islands. He became increasingly frustrated on this voyage and perhaps began to suffer from a stomach ailment; it has been speculated that this led to irrational behaviour towards his crew, such as forcing them to eat walrus meat, which they had pronounced inedible.
James Cook