There is no ISO for the OS/UI that I know of, but several users were able to restore their image through this thread:
This is tantamount to a complete reset of your disk though. Did you try to reinstall the firmware using this type of instructrions?
Since you can access through SSH, backup the content of your shares before trying the above.