Assuming someone actually deleted the entire record from TRIM including the metadata, they'll have to re-register the restored document as a new TRIM record. It'd be a complex process fraught with danger if you tried to reinstate the deleted metadata...not worth the trouble methinks (even the thought of trying to do that makes my head hurt.)
Note: Any posts I make on this forum are my own personal opinion and (unless explicitly stated) do not constitute a formal commitment on behalf of HPE.
(Please state the version of CM you're using in all posts.
HPE Software Support Online (SSO): https://softwaresupport.hpe.com/