Q 340

Can a creature with a natural slam release a grip on a weapon to use a slam as part of a full attack?

The specific case I'm thinking of is a Maug, with exotic weapon proficiency in the bastard sword: could it full attack with the sword two-handed, then as a free action shift it to a one-handed grip and slam as part of the full attack sequence that round?