Code, you have to leave U.S. after getting approval of AP, otherwise your application of status adjustment will be terminated. It seems you'd better to consult your attorney about your situation.