How to prevent closing unity environment on finishing train?

I can start a train by calling mlagents-learn and starting a ‘game session’ in unity with scene with agent in it. After reaching some limitations or by just pressing ctrl+c I can finish the train.

But when I do so, my ‘game session’ in unity becomes closed. I don’t need it - I want to train another AI on this scene.

Is it possible? Restart a train without reopening a game?

Hm. After reading sources I actually found a workaround. I commented OnQuitCommandReceived in Acedemy. I think it’s enough for me. After ending train I will be able to restart Academy somehow. But anyway my solution sounds like hack. If anyone knows better solution I would be grateful