H4 denied h1 approved

I have a doubt is denied and refused are same in visa decision? I have applied for h4 visa when h1b is from employer A and h4 was pending with USCIS and I got an offer from Company B and applied for both h1b and h4 explained to USCIS that the h4 visa extension is pending with USCIS and we got both h1and h4 visas are approved but i changed my mind didn’t go with company B stayed with company A but now I got an email saying that h4 got denied with company A. can someone please explain what I have to do now h4 have visa and i94 validity based on company B. Does h4 needs to go out of country immediately? If she goes out of country means does she eligible for Dropbox?