Since legal stay of H1-B holders is tied to employment, a job loss triggers a limited window to find a new sponsor, change status or leave the US.