Hi.
There's no way to exit (or interact in any way with a running instance) from commandline.
I'm not sure about the purpose but you can always patch the runtime to provide an interface over cli and use that to call Device.exit(). See
https://github.com/koreader/koreader...tches#overview