Isolation

I’m trying to recall a word which I’ve read from a book few days ago. It’s basically have the similar meaning like that of “Isolation” but it starts with “O”. To be more specific, it has the meaning of to disown a person from a specific group. Can anyone help me out with that?

Ostracism?

Exactly. That’s what I’m looking for. Thanks again.