Your best bet would be to open a Support Case with Pearsonvue and explain your situation.
https://home.pearsonvue.com/microsoft/contact
There's no guarantee they will reimburse your exam however.
I recommend doing the Microsoft Build Cloud Skills Challenge - before the 21st of June 2022! If you complete a path, you will get a free exam voucher, which you can then use to retake your test.
https://www.microsoft.com/en-US/cloudskillschallenge/build/registration/2022