When referencing a DWG file to a master DWG file then closing the file the attachments are lost.
In the Help guide under the section of:Save As DWG/DXF Options General tab, ReferencesThere is an explanation of how the DWG workmode handles DWG reference attachments with the Save Relative Path on.