How to Restart the Touch Bar
The Touch Bar on the MacBook Pro offers a variety of shortcuts according to each application, but sometimes it doesn’t work as expected. Users may eventually experience unexpected behaviors with it such as freezes or specific buttons not responding.
The Terminal commands are:
sudo pkill TouchBarServer sudo killall ControlStrip