To capture the Touch Bar's contents, press Command (⌘) + Shift + 6. The screenshot will be saved to your desktop.