Ostracism
noun
the state of being banished or ostracized (excluded from society by general consent)
“the association should get rid of its elderly members--not by euthanasia, of course, but by Coventry”
Similar: banishment, coventry
noun
the act of excluding someone from society by general consent