Hi @Muhammad Abdullah ,
if the Azure VM is in state Stopped (deallocated)
there are no costs for compute.
But you will be charged for the related disk (for instance the OS disk) because the disk is still consuming Azure storage.
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten