code: def stop(self):
          '''stop nsh input'''
          self.mpstate.rl.set_prompt(self.status.flightmode + "> ")
          self.mpstate.functions.input_handler = None
          self.started = False
          # unlock the port
          mav = self.master.mav
          mav.serial_control_send(self.serial_settings.port,
                                  0,
                                  0, self.serial_settings.baudrate,
                                  0, [0]*70f stop(self):
          '''stop nsh input'''
          self.mpstate.rl.set_prompt(self.status.flightmode + "> ")
          self.mpstate.functions.input_handler = None
          self.started = False
          # unlock the port
          mav = self.master.mav
          mav.serial_control_send(self.serial_settings.port,
                                  0,
                                  0, self.serial_settings.baudrate,
                                  0, [0]*70)
docs: stop nsh input