All pistols are, essentially, prohibited in Canada.
Canadians can get a handgun permit, under certain very specific circumstances, but Americans travelling through Canada are forbidden handguns.
If you want to take your rifle(s) through Canada, you have to arrange for it well in advance of your trip.
If you'd like to carry your own rifle(s) and pistol(s) from the Lower 48 to Alaska, you will have to go via an Alaskan Marine Highway ferry. Even though they travel through Canadian waters, they do not stop anywhere in Canada, so they are not bound by Canadian law.
You can drive your car, truck, or car-and-trailer combination onto an AMH ferry at Bellingham, Washington. You can book a cabin for sleeping, or you can book deck passage and sleep outside in a sheltered area. Maybe paying for your car automatically provides some sort of accommodation, but I don't know. The ferry has restaurants and snack bars.
If you have a secure destination address, BATFE regulations permit you to ship your own guns, from yourself at any address, to yourself at any address, without a license of any kind.
Long guns can go UPS, I think, but pistols have to go FedEx overnight or (I believe) UPS overnight.
Then you could drive through Canada without a problem.