Here is a WordPress snippet to exclude a Category from displaying in the Native WordPress Category Widget. Simply add this tour your functions.php: -