You maintain your H-1B if 1) remaining in US and working for the sponsor 2) admitted in H-1b and working for the sponsor