You need the pet info bar up (always). It allows you to pull pets out of the fight for healing, and bunch of other stuff, and for this macro, you stop them in their tracks with Wait (while bringing other pets back).
Code: Select all
/pet "%t" free
Code: Select all
/pet "%t" free