If you are in the design mode, you can choose to exit the design mode without saving.
If you have already saved your design, you can restore a previous design from the Design Mode, by clicking the Previous Versions button.
It is best practice to save periodically while working on a form design.