A coordinated services plan expires on the earlier of—
(a) in the case of an eligible offender who is the subject of an application for a supervision order or a detention order, the determination of the application; or
(b) its revocation under section 335.