I’ve added a validation function to my search bar to catch empty submissions.
If I use form_set_error() though I’ll end up at the search results page with the form element highlighted.
What I actually want to happen is to just abort the submission and come back to the original page like nothing happened.
Does FAPI have a way of handling this?
You should be able to handle that by conditionally adding a #redirect attribute to the form.