On October 1st I will be in H1B status, currently I am on OPT (cap-gap extension).

Is it okay for me to travel internationally on October 1st, e.g. leave the US in the afternoon of October 1st?