code: def exitContainer(self):
          
          try:
              entry = self._compoundStack.pop()
          except IndexError:
              return
          
          container = self.currentContainer()
          entry.setQuery(container.query())
          
          self.slideInPrev()
docs: Removes the current query container.