You can remove the focus from the search bar with the blur method.
blur
In this silly example, we're removing the focus every 5 seconds.