What to do when DS incurs an error while saving

My commands stopped working so I attempted to exit the program. That is when I first got the error prompt. I did try the Save As command and got the same prompt. the document is still visable but I can not save it.