To exit Write, choose the command File | Close and then File | Exit . Alternatively, just click on the X icon on the far right of the title bar or tab.
If one of the open documents has been changed since it was last saved, Write automatically asks you whether you want to save it before closing it.