isearch-abort
isearch-abort is an interactive compiled Lisp function in `isearch.el
'.
(isearch-abort)
Abort incremental search mode if searching is successful, signaling quit.
Otherwise, revert to previous successful search and continue searching.
Use `isearch-exit' to quit without signaling.