Desertion is the act of abandoning duties without permission and with no intention of ever returning. A person who does this is usually referred to as a "deserter".
In military context, deserting usually means fleeing one's own side to join the enemy, or at least to not assist his/her own side.
AWOL-Absent Without Leave