This is in contrast to excommunication, which is disaffiliation from a religious organization imposed punitively on a member, rather than willfully undertaken by the member.
Excommunication is distinct from this; it involves being cut off from a religious community through punitive measures rather than voluntarily undertaken by the member.