Hi,
Welcome to ask here!
The reference in the parent domain and trust relationship should be deleted if the DCs in the child domain were demoted successfully.
If there are still metadata not cleaning up, we can do it manually.
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/ad-ds-metadata-cleanup
Then check if there are DNS records.
Check if the trust relationship was removed.
Check if everything works well by command on parent domain controller:
Dcdiag /v >c:\dcdiag1.log
Repadmin /showrepl >C:\repl.txt
Repadmin /showreps *
Best Regards,