What if the H-1B cap is exhausted and the student does not receive a cap number?

During years of high H-1B demand, USCIS has implemented a lottery system by which H-1B numbers are allocated.If USCIS receives more H-1B petitions than there are available and the student’s petition is not selected in the lottery, the student will have the standard 60-day grace period from either the date of the rejection or their academic program end date, whichever is later, to depart the US.