"When you come back using your AP, you will have a AOS stamp on your I-94. It means your H1 status is TERMINATED. But if you work for the same employer for your H1 and GC, you are allowed to file H1 extention to let you come back on H1 status.
If you want to apply for another H1, you will have a huge problem because
since your H1 is terminated, you lose your H1 quota so you are subjected to H1 cap.
You have two options: file H1 extention before switch your job or work using EAD card."