One of the cardinal rules of reloading is never have more than one canister of powder on the bench at a time. Corollary to this rule is never put the canister away without dumping any unused powder back into it.
A painful lesson to learn, but not as painful as it could have been.