Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.
Here is the code needed to unregister the secondary sidebar:
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Unregister secondary sidebar
unregister_sidebar( 'sidebar-alt' );