if the layer was deleted during the current session you can just undo (Edit > Undo) the change.
In case you've closed and reopened the app in the meantime you could try the File > Revert to > Browse All Versions menu item to restore an earlier version of the document.
Hope this helps,
Jan
RailModeller Pro - The model railroad layout design package for the Mac