Please keep in mind that F-1 students have a 60-day grace period after completing their studies or approved period of OPT/STEM OPT.
If you are withdrawing or going on leave without completing your degree program, the grace period will not apply, and instead you must depart the U.S. within two weeks of your withdrawal date.