There is a temporary rule given by INS several years ago, and now it is still effective, which is you can use AP go back to your own country, and as long as your H1 is not expired, after come back, you still can work using your H1 and no need for EAD. If 485 get rejected, you still can stay in U.S. until the 6 year H1 expires.