... by using serial.tools.miniterm.
Wrap it into a launcher program which reminds the user to try ENTER, Ctrl+B or Ctrl+C when no output appears.
Exit raw repl before disconnecting.
Investigate how to use different shortcut for exiting, or simply silence miniterm banner (-q)