code: def stop():
      '''Stops lazarus, regardless of which mode it was started in.
  
      For example:
  
          >>> import lazarus
          >>> lazarus.default()
          >>> lazarus.stop()
      '''
      global _active
      if not _active:
          msg = 'lazarus is not active'
          raise RuntimeWarning(msg)
      _observer.stop()
      _observer.join()
      _deactivate(f stop():
      '''Stops lazarus, regardless of which mode it was started in.
  
      For example:
  
          >>> import lazarus
          >>> lazarus.default()
          >>> lazarus.stop()
      '''
      global _active
      if not _active:
          msg = 'lazarus is not active'
          raise RuntimeWarning(msg)
      _observer.stop()
      _observer.join()
      _deactivate()
docs: Stops lazarus, regardless of which mode it was started in.
  
      For example:
  
          >>> import lazarus
          >>> lazarus.default()
          >>> lazarus.stop()