This command completely removes a bot from a channel. This command is mostly of use to channel founders who have grown tired of their bot and want to get rid of it. It is also useful for newly registered channels if the founder does not wish to have ChanServ present in the channel. For assigning bots to a channel, the previous bot present, if any, is automatically unassigned if a new bot is assigned, so there is no need to run this command then.
This command takes 1 argument, the channel to be unassigned. To remove the bot from #channel, you can use the following command:
/msg BotServ unassigned #channel