Hello Neeraj Kumar Gupta,
Thank you for posting this in the Microsoft Q&A Community.
Please be informed that you will surely be charged for what you used as you upgraded your subscription to pay-as-you-go.
The best thing to do is to raise a ticket to the Billing Team who will help you further with this query.
Let me know if further assistance is needed.
Babafemi