def do_unsubscribe(self, cmd):
        # You can unsubscribe while you have commands in the command
        # queue, but no notifies are sent in that case.
        #
        if self.process_or_queue(cmd, queue = False):
            try:
                self.notifies()
            except MailboxLock:
                pass

        mbox = self.server.get_mailbox(cmd.mailbox_name)
        mbox.subscribed = False
        mbox.commit_to_db()
        return None

    ##################################################################
    #
The UNSUBSCRIBE command removes the specified mailbox name
dataset/ETHPy150Open scanner/asimap/asimap/client.py/Authenticated.do_unsubscribe