Can we get back our opt if we apply for reinstatement?

My professor had failed me in last semester but my program end date has already gone. But my opt got approved. My school DSO said you can apply for reinstatement. My doubt is can we get our opt again after finishing the course. Please respond as soon as possible. Any suggestion would be helpful for me. Thank you.