Unstable hotend - MCU Shutdown - Loosing the will to live

You need to make sure that your cables are fastened to moving/stationary parts close to your connectors so that there is no movement/stress on the connectors. I generally use a couple of zip ties like:

This is generally referred to as “strain relief”.