Yes but alot of bot owners especially on the swiftirc network like having a !leave command on there bots to allow operators of channels using the bot to simple type !leave to make the bot exit the channel.
An example of the reason for use would be if your bot auto rejoined channels it was kicked from it saves chan operators using the bot in their channel then deciding they dont want it anymore or at that particular time then kicking it only having it rejoining their channel then having to kb