Animal friendship will turn the owlbear cub hostile when it wears off in your camp. Note that this is a bug in itself, since animal friendship is not supposed to turn targets hostile when it wears off the same way that charm person does:
https://roll20.net/compendium/dnd5e/Animal%20Friendship#contentHowever, this is a full blocker because all extra NPCs in the camp will likewise turn hostile including Volo, Halsin, Withers, and Scratch. Withers will even attack you, and he's immortal.
So basically if you cast animal friendship on the owlbear cub in your camp, you are dooming your playthrough. When it wears off, your game is over.