If you return to the same employer (where you have your current H1B status), you will have both AOS and H1B status. Even you 485 has been denied, you still hold your H1B until expires.