You have to get the AP to go out of U.S. because your current status is not H-1 yet. If you go without AP, your I-485 will be invalid. You have no chance to get H-1 status anymore except that you give up your I-485 application.