How to Reset Obsidian Latex Commands?

Things I have tried

I accidentally overwrote the \text{} command in latex using \def and now much of my latex in my vault is broken that uses \text{}. Is there a way to access the latex file for my vault? The \text{} command still works in other vaults, but my primary vault now has this command broken.

What I’m trying to do

I am trying to reset my vault’s latex file because I accidentally overwrote a key command using \def. Is there a way of doing this?