isearch-done

isearch-done is a compiled Lisp function in `isearch.el'.

(isearch-done &optional NOPUSH EDIT)

Exit Isearch mode.
For successful search, pass no args.
For a failing search, NOPUSH is t.
For going to the minibuffer to edit the search string,
NOPUSH is t and EDIT is t.