>>713035796Rarely, but it's a factor that more importantly feeds into stress levels.
A gorilla has to constantly keep watch to make sure no jungle cat tries to fuck with the children of the group. The various knock on effects of stress related to predation are what's actually the big problem, that actually does have an impact on lifespan. The threat of predation has a larger impact on lifespan than predation itself actually does.
Stress is also usually what tips the equation for animals that do really poorly in captivity, like sharks. Sharks become very, very stressed if they feel like they don't have enough territory to sustain themselves, regardless of how much food they're actually getting, so tend to freak out in captivity. That's a common unifier in most large predators actually, they start feeling stressed and panicking, because they don't feel like they have enough territory to reliably feed themselves. That they are getting fed doesn't matter, it's the worry that they might not that fucks 'em up.
Cheetahs are another good example, where they do WAY better in captivity, almost entirely due to stress. Cheetahs are almost constantly having nervous breakdowns in the wild for a variety of reasons, while in captivity, they usually get a dog as a pet/friend that grounds them and keeps them chill, kinda like how horses so times get donkeys to keep them chill, while also never having to deal with shit like having their food stolen by anything that walks.
So, I should have presented it better but, that's what I mean.