did you apply for an employment authorization? I-765 when you filed your other forms with the BCIS? if not, do it now... And if so, request your employment authorization card as soon as possible ?(usually they give it to you within 90 days from applying for employment authorization). Once you have your greencard, you can fly yes, and leave the country if you'd like.