The meaning of "ostracize" as used in the passage is:
A. Exclude or expel from a group
The passage describes a practice in which citizens could vote to force a leader to leave the city if they were deemed too powerful or dangerous, which aligns with the concept of exclusion or expulsion.