'Exit from configuration mode.'

def exit_config_mode(self, exit_config=u'end', pattern=u''):

    if (not pattern):
        pattern = re.escape(self.base_prompt[:16])
    return super(CiscoBaseConnection, self).exit_config_mode(exit_config=exit_config, pattern=pattern)
