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