yep, I think he went AWOL and then couldn't figure out how to get out of it. Seems that way, IMHO.
The reason I say that is the military is shown very early on reporting that he was AWOL at time of capture, and this was long before he was found, or they knew of his fate.
Then this Muslim "Marine" -- along with a leftist media -- has better expect the appropriate punishment.