Control-C can usually be used to interrupt the execution of a task, and revert back to the miriad shell.