If you have the every turn auto-save on or you saved Last turn, just reload. Otherwise I think you are screwed.
You might take control of the AI empire you surrendered to BEFORE you end the turn, set it to human control, and when its turn comes up reject the surrender or something like that.