If your pet is attacking a target that is then CCed it will stop attacking it.
Downside is if your pet isn't set to obey it is attacking a nearby target will merrily use its AoE and break CC.
To set a pet into obey "mode" first mob in a dungeon select main target click obey, pet will remain in obey until resummoned or you click on Sic.