No longer being maintained (Though it will probably work for a while, it's not a complicated addon)
For alternatives, check out: https://addons.wago.io/addons/djuxsurrender (Makes /afk surrender instead) or
https://addons.wago.io/addons/reflex-arenabattleground-historian (Arena history addon that also adds the /gg command to surrender)
Surrender adds the commands '/gg' and '/sr', which will cause you to surrender your arena match when applicable(AKA after a teammate has died), saving you the two clicks it would take to surrender via the button on the minimap.