How to remove database from explorer after deleting .MDF and .ldf files I wanted to know if I can delete or remove the database shown in the object explorer after someone  has manually deleted the MDF and ldf files from the database folders.
Are you attempting this with SSMS? I followed this process using SSMS v18.4:

Take DB offline
Manually delete mdf and ldf files.
Right click on database in SSMS and click 'Delete'.

This worked just fine for me.