If you haven't saved the form, just close it and tell it not to save changes (all changes made since the last save will be reverted).
If you have a backup copy of the database from before the changes, you could import the form from that, using the external data wizard.
If you've saved the form, and don't have a backup copy, there is no way to undo, except by moving things back manually to where you think they should be.