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