That is not allowed. All H1B petitions are owned by the employer and only the employer can revoke that petition. The good news is you are worrying for nothing. The only thing you will need to do is ignore your H1B and your status will stay the same. An H1B status will not be considered until a foreign national beneficiary confirms that status by getting on the payroll of the employer who made that petition, not before or after.