Of course the right to withdraw from social contact from whomever you choose is a personal right unless you are legally/morally/ethically responsible for that person, as in the case of underage children and a spouse.
But the point is, it should be an individual decision to do that NOT mandated by a religion that YOU MUST SHUN any and all who no longer wish to remain in your religion including your family, otherwise YOU will be "shunned" yourself.