As long as you are enrolled in a course of study that is eligbile for F-1, you will continue to be in F-1 status but you will need to get a new I-20 from your school.  It is best not to have any gaps so if your OPT expires, you should make sure that you have a new I-20 starting for the date that the OPT expires.