You can use the following inside a macro to stop following but you cannot use it while moving you must stop to use it.

Code:
/script DoEmote("SIT")