yes, once you use AP, your H1B status will be expired. But you can apply H1B visa instead of using AP, if H1B is not to expire.