restart touchbar macos code example Example: restart touch bar mac sudo pkill TouchBarServer; sudo killall “ControlStrip”;