The search box is not hard coded in the core, it’s only in the template – it won’t be forced on other templates.
Just look in
<?php login_form(); ?>
<?php search_form(); ?>
The three “search” lines can be removed or just comment out this:
<?php // search_form(); ?>