Can you preserve canned kidney beans so that they still have their shape? I buy kidney beans in a can, but the amount is always too big. Normally, I throw away the leftover beans, thinking that freezing them will turn them into mush (thinking the water will expand and make the membrane tear).
Is there a way to avoid this? Or another way to preserve them longer than a few days (preferably a few months)?

Note: I haven't actually tried this, so if they hold their shape nicely after freezing, please inform me.
Beans freeze marvelously. I put mine in freezer bags and lay them flat so they freeze quickly and are easier to thaw.

They are very sturdy little nuggets of joy and hold up well to canning or freezing without getting mushy.

Different beans behave differently. Pintos soften quickly and don't have much of a skin. Black beans keep their shape and skin a lot longer. Kidney beans are in the middle- if you boil them too long they will mash but they are a lot sturdier than pintos.