140 has nothing to do H1B unless you have filed 485, in this case you can leagally stay here as AOS and apply EAD. You may appeal or ask reopen your 140, but you should renew H1B now.