If you meant to type "defaction" but realized it was a misspelling, fear not! The correct word you were likely referring to is "defection". This term refers to the act of abandoning one's previous allegiance or association, usually in favor of an opposing group or cause.