Cardioversion is a medical procedure by which an abnormal heart rhythm is returned to normal (sinus) rhythm. This can be achieved with medications (anti-arrhythmics) or with an electrical shock under anaesthesia.