I thought I remembered death being the punishment for desertion in the time of war (IIRC, that only applies to battlefield desertion), but since I wasn't sure, didn't want to include it in my answer, which is posted below your reply.