sh.rs: implement exit command.