(ii)
on or before—
(I)
the end of any semester or quarter (as appropriate) which begins before the date on which the captive status of that individual terminates, or
(II)
if the educational or training institution is not operated on a semester or quarter system, the earlier of the end of any course which began before such date or the end of the 16-week period following that date.
In order to respond to special circumstances, the appropriate agency head may specify a date for purposes of cessation of assistance under clause (ii) which is later than the date which would otherwise apply under such clause.