Accidently Saved a Doc with chekcbox OFF For a module not stored in Backend

I accidently saved an doctype while keeping the custom checkbox OFF for a module which was not stored in backend .

Now The Doctype is not opening and when i am trying to delete the doctype it is showing me this error

Can anyone please tell me how can delete that doctype .

Why not check the custom box now, save it, and then try to delete the doctype?

I did but that’s not working either .
@Void_Moon is there any other way i can delete the doctype

Well the past me I found a solution to it simply select another module from the doctype and click on the checkbox and save the doc after that delete or do whatever you want with that module