I use this, and it works.
Code:
#showtooltip
/petpassive [mod:shift]
/petfollow [mod:shift]
/stopmacro [mod:shift]
/cast [pet:spider] Web(Special Ability); [pet:crab] Pin; [pet:turtle] Shell Shield(Special Ability); [pet:monkey] Bad Manner
Press macro = pet does its special ability, shift + macro = pet returns to you.
Edit: BTW, next time you try to make a macro, instead of just typing the abilities out, shift-click them from your spellbook. That's how I got Web(Special Ability) for example. I guess there's some other spell called Web, and the game gets confused.