⬢Based on the generation of your printer you might have slightly different protection of the cables:
⬢Old printers used a plastic spiral wrap with zip tie.
⬢New printers are using a textile sleeve held by printed parts.
⬢Most of the time, it will be enough to remove two screws (MK3S, MK3, MK2.5S, MK2.5) or cut the zip tie (MK2S and MK2)
⬢Remove the textile sleeve or the spiral wrap all the way, but keep it for reassembly.
⬢In rare scenarios, you might have to release the entire cover, or even the power wires to get access to the thermistor wire.
⬢Regardless of the type of the cable management, in this step, you need to remove the wrap and get access to the entire length of the thermistor cable.
⬢Now, carefully remove the thermistor with both the tapes (yellow and aluminium) from the heatbed.