Cowboy - there is only one way. 11.3 DOD war of manual.
11.3 END OF OCCUPATION AND DURATION OF GC OBLIGATIONS The status of belligerent occupation ends when the conditions for its application are no longer met. Certain GC obligations with respect to occupied territory continue for the duration of the occupation after the general close of military operations. End of Occupation. Belligerent occupation ceases when the conditions for its 11.3.1 application are no longer met.81 In particular, as discussed below, the status of belligerent occupation ceases when the invader no longer factually governs the occupied territory or when a hostile relationship no longer exists between the State of the occupied territory and the Occupying Power