I'm using now this macro

/petfollow
/petpassive
/petattack [harm]

It works fine, but when i want to call back my pet i've got to remove my target first.

So my question is: Is it possible to put a moderator in it so that when i press 'shift' my pet stops attack and follows again?