After the 2.16 Patch, the pet hotbar became irremovable from the HUD. Usually you can go to HUD settings and right-click on a hotbar to remove it, but now it's stuck there. Especially for controller users (like me), there is already a separate pet hotbar on the cross hotbar.