No, it will not be abandoned. You will not be able to file it as a change of status if you plan to travel while it is pending since that part of it will be abandoned if you do travel (the change of status). However, the H-1B on its merits, if selected in the lottery, will be reviewed regardless of whether you are in the US or not, as that is not a requirement. If approved, you will probably not be able to get a visa until sometime in mid-September and come and start working for the employer starting October 1.
Answered on Mar 11th, 2015 at 5:11 PM