I've just seen a lot of druids lately shifting in and out of form (bears getting rage, out of snares, etc) but nobody seems to use a macro for it. So thought I would share the one I've been using...
/cast [stance:1]!Dire Bear Form;[stance:2]!Aquatic Form;[stance:3]!Cat Form;[stance:5]!Tree of Life; [nostance, flyable, nocombat, noswimming][stance:5?6] !swift Flight Form; [nostance, swimming] Aquatic Form;[outdoors]!Travel form
When you use it there will be a little puff of smoke and you will have gone from your form to caster form, and back to the original form.
I think I originally got it from wowwiki then edited it a little for myself. Note: it doesn't have a code for moonkin since i am never balance.