code: def Logout(self, dumpXml=None):
  		
  		from UcsBase import UcsException
  
  		if (self._cookie == None):
  			return True
  
  		if self._refreshTimer:
  			self._refreshTimer.cancel()
  
  		response = self.AaaLogout(dumpXml)
  		self._cookie = None
  		self._lastUpdateTime = str(time.asctime())
  		self._domains = None
  		self._priv = None
  		self._sessionId = None
  		self._version = None
  
  		if self._ucs in defaultUcs:
  			del defaultUcs[self._ucs]
  
  		if (response.errorCode != 0):
  			raise UcsException(response.errorCode, response.errorDescr)
  		# raise Exception('[Error]: Logout [Code]:' + response.errorCode + '[Description]:' + response.errorDescr)
  
  		return True
docs: Logout method disconnects from UCS.