modify show UI of a registered taxonomy

you can use this filter which is used inside register_taxonomy

add_filter("register_taxonomy_args", function ($register_taxonomy_args, $name, $object_type) {


    if ("taxonomy" === $name) {

        $register_taxonomy_args["show_ui"] = FALSE;

    }


    return $register_taxonomy_args;

}, 10, 3);