Yes, a high voltage capacitor in a microwave can potentially give you a dangerous electrical shock if mishandled. Microwave ovens contain a high voltage capacitor as part of their power supply system. This capacitor is responsible for storing electrical energy that is used to generate the high voltage required to power the magnetron, which produces the microwaves.
Even after the microwave oven is unplugged, the high voltage capacitor can still retain a significant amount of electrical charge. If you were to touch the terminals or come into contact with the capacitor while it is charged, you could receive a severe electric shock, which can be potentially life-threatening.
Therefore, it is crucial to exercise extreme caution and avoid touching any internal components of a microwave oven unless you are a qualified professional with the necessary knowledge and experience to handle high voltage electronics safely. If you suspect a problem with the capacitor or any other component of your microwave, it is recommended to contact a professional for repair or replacement.