I think the outcome relies mainly on if the animal has been caught or raised by a caught animal or has a longer history of it's ancestors were all born and raised as domestic animals.
Then there would be a higher chance of it staying aroun, as being not as fit for living on its own
But I think the call of the wilderness would probably very fast taake over, unless you have some extremely attractive food or such around to lure it back.