Britain actually "captured" Fort Astoria, after it had already been sold to the North West Company, and thus handed it back because of Ghent, sort of.
So if the Northwest company is on the ball I imagine the final disposition of this area might be dealt with in the ATL Treaty of Ghent.