You are free to travel abroad.
(213) 394-4554 x0 Mr. Shusterman is a former INS Trial Attorney (1976-82) with over 35 years of immigration experience. His response to your question is general in nature, as not all the facts are known to him. You should retain an attorney experienced in immigration law to review all the facts in your case in order to receive advice specific to your case. Mr. Shusterman's statement above does not create an attorney/client relationship.
While I agree that you can travel abroad, I hope that you have an attorney or someone who can check your mail for any notices. If biometrics or your interview is scheduled to occur while you are away, your application could be deemed abandoned if no action is taken.
Dhenu Savla, Esq.
This answer does not create an attorney-client relationship and is not meant to be relied upon as legal advice.
You will be fine if your H-1B visa is renewed. It would be good to have advance parole as back up in case your visa is not renewed but it will probably be too late to obtain it if you want to leave in two weeks.