So I've been having issues with pets spawning into inaccessible areas, such as rocks, tree trunks, etc. I can /target them, but is there a /battle command of some sort that would allow me to engage them in a pet battle? At the moment, all I can do is /target and kill them so they respawn, and *hope* they respawn somewhere I can reach them.
You can bind "interact with target" to a button in your keybinds list, and that'll do the trick. I don't know the macro command for that, though.
You can keybind Interact with Target in your Keybindings menu. Use that keybind and it will initiate pet battles.