If you have a bot which puts idle bots in storage you can softlock yourself if he cleans up the one you want to teach something because he thinks is idle. That keeps you stuck in the teach menu and none of the hotkeys, esc, and not even taking all bots out of storage can get you out of it... I think the only wayout is by alt-F4 and losing all progress.