To continue delivering a course or academic programme until all enrolled students have completed it, even though no new students are being admitted.
"The university agreed to teach out the nursing programme so that second-year students could graduate."