I think there is a 90-day grace period before your new H1 status. My OPT ended in August and H1 started in October. I didn't need to leave the country because of the 90-day grace period.