Apostasy
Apostasy is a term used in a religious context, for leaving  one's religion. Usually it means moving to another religion. Someone who does this is called an apostate. Apostasy is different from heresy: A heretic only questions one (or more) of the traditions and beliefs of their religion. An apostate questions all of them.