Canada has never owned or sold Alaska.
The Alaska Purchase (1867): Russia sold Russian America to the United States for $7.2 million (~$140M today). Negotiated by Secretary of State William Seward; ratified by Senate 37–2.
Why Russia sold: Overhunted fur trade, defense costs, fear of British seizure via Canada, focus on Asian expansion.
Canada's role: British North America (pre-Confederation) bordered the territory. The 1825 Treaty of Saint Petersburg set the 141°W boundary. Canada (confederated 1867) inherited the border—no transaction occurred.
Alaska became a US territory (1867), district (1884), territory (1912), state (1959). Canada's Yukon/BC share the land border.