Board Thread:The Quarters - Q & A/@comment-173.160.41.145-20151215195103/@comment-27405787-20151215234041

There isn't an "undo" button, but you can go into the settings and change your character values to subtract any gold or experience that you gained. As well as give yourself back health that you may have lost by accidentally pressing a minus.

Settings > Site > Fix Character Values