Firstly have to clear debit-credit and should not be any scrip in demat holdings then You will have to send account closing form duly signed by holder to HO. Form can be downloaded from MSFL website.