defection
/ˌdɛfɛkˈʃən/Definitions
1. noun
the act of deliberately turning away from a cause, allegiance, or duty, especially in times of crisis or adversity, or the act of leaving a group or organization and joining an opposing group or the enemy
“The government criticized the soldier’s defection to the enemy after being given a chance to surrender peacefully.”