I've just ordered a magnetic breakaway adaptor for the USB-C charging cable on the MacBook Pro. It sits on the end of the existing cable & leaves a section a few millimetres long protruding from the Thunderbolt port when sufficient force is applied.
MagSafe 3?