The pet will follow if it's not autoattacking the brain. Same goes for zoning into portal, if you want your pet to portal with you, click follow first. Will try if he stays dpsing the brain on next reset, will be easy to spot on MSBT if theres pet dmg dishing out. +rep if it works.