Download the theme– actually download to your computer rather than use the built in updater/installer–, unzip it, find the footer file, and upload that to your site over FTP.
After that, my advice would be to setup a development environment on your computer and don’t edit the live site directly.