When you attempt to exit Word, it will check to see if documents remain unsaved and will ask you if you want to save them first (see save file). This is a safety measure so that you do not accidentally close files without saving them. If you want to keep a file, you must save it before exiting Word it.