Discharge of individuals admitted under Class I shall be accomplished in accordance with the provisions of sections 2A:163-2 and 2A:163-3 of New Jersey Statutes, if applicable, or on order of the commissioner with 30 days prior notice to the committing court, or as the court may direct.
N.J.S. § 30:4-107.5