Macbook Pro (late 2016) suddenly stopped detecting my external monitor after a 3h hibernation

This was resolved by buying a new cable. This cable was a USB-C to HDMI.