If the person, upon being readmitted under this part, is eligible for discharge under §33-6-602, the person shall be discharged under §33-6-602 notwithstanding §33-3-501. The hospital shall give notice of the discharge to the courts that had been notified of the admission, and the judicial proceedings for recommitment shall be dismissed.