After seeing your pictures - in particular looking at what appears to be just pieces of wood that are meant to keep the soil of the airvents - I come to wonder if this raised bed is a later construction than your house. It just doesn't feel like a well thought out construction and looks much more like a later add on, but I don't know the history of your house.
It doesn't look completely healthy and I didn't initially realize how far up the foundation the bed really went.
I think Elaine is on to something with removing the beds. If that's not in the budget, I think you at least should hold of on filling back the soil for now. Perhaps better to play it safe here.