Go to Programs -> Enrolments -> select the person to view details as below -> select Cancel Enrolment -> Active status will change from Yes to No.