"terrain not correctly connected to a terrainData objec

I was almost done with my scene, when I started doing some cleanup and I deleted my terrain from the project window. I’ve spent the last 2 hours trying to get it back, I tried putting it back in its original location from the trash, replacing my project folder with backups… and I still get the same error. I am most concerned with getting back all the grass and height detail I painted. Can anyone help me please! Thank you all in advance

I doubt that recovering just the terrain item from the trash will do it as Unity stores other meta data besides the actual asset itself. Can you revert to a prior build of your overall project as opposed to trying to recover just the terrain item in your current project?