Before revision: In some countries, it is a form of child abandonment and is illegal when the child is a minor.
After revision: In some countries, disownment of a child is a form of child abandonment and is illegal when the child is a minor.