Hello, I understand that you are cancelling your Minecraft Realms subscription and that you are also looking for a refund.
Please double check if the subscription is still reflecting on your account via account.microsoft.com/services and then try it from there or try to turn off the recurring billing at https://go.microsoft.com/fwlink/?linkid=2277073.
For the refund, please see the Minecraft support link below.
https://help.minecraft.net/hc/en-us/articles/360030463592-Request-a-Minecraft-Refund