to exclude (somebody) by general consent from a group or society
The wives and families of the traitors were ostracized, while the corner groceryman who sold provisions to them was boycotted — Jack London
in ancient Greece, to send (somebody) into temporary exile by popular vote
ostracism /ʹostrəsiz(ə)m/ noun
[Greek ostrakizein to banish by voting with potsherds, from ostrakon shell, potsherd; a vote to banish somebody was registered by writing his name on a potsherd]