How do I find missing folders and restore links to the catalogue on a Mac?

I am using Lightroom classic on my Mac. I imported my photos to Lightroom and they went into subfolders. I didn't like how they were organized so I went into "Finder" on my Mac and deleted the subfolders and reorganized my photos. In Lightroom now I can see the photos when I am on 'Library'. I cannot do anything else with the photos because it says 'The File cannot be found'. In the Adobe tutorials I learned that organizing them in this way has broken the link between files. I attempted to restore the links to the catalog based on the Adobe tutorial but it is not working. Please help me! The files are important to me and I have made a mess of my organization.
