I was reading this blog on Scientific American, which discusses whether wild animals are happier than domesticated ones. I've also read about strong territorial instincts in some species. This reading led me to ask whether there is any non-human animal social group that punishes members with something similar to "imprisonment".
When I say "imprisonment" I mean restricting the mobility and survival freedom of members, for some social or cultural reason.
By "imprison", obviously I don't mean the use of cages or prisons or any of the manmade ways of imprisoning. I wish to know about whether, in any species, a member acting alone (or acting together with others of their own), build a virtual territorial wall/ring around another member(s) of their own species, acting almost like an imprisonment? This may not be physical exertion of muscle force, but may by making (say, for example) continuous noises as a group to restrict the territory of their own member.
Maybe, one can exclude adult members forcefully protecting their young ones, because that would be in their instinctive interest, even if the young ones' instinct is to violate a restriction. Also please avoid answers on behaviour of one species defending their territory. That's not the same as restricting by "constructing" a limiting threshold in an enclosure-like fashion.