Whenever I hear a freelancer (especially new freelancers) refunding money it saddens and irritates me. I can certainly understand if the freelancers work was shoddy, half done, and so full of mistakes. In those cases escrowed funds should be returned to the client, But if a freelancer is doing it because they are afraid of a negative review, or if the client threatened them with a negative review, then that is a very bad client, and escrowed funds should not be returned.
You are a new freelancer and I sure hope that you are not returning the funds because of a fear of a negative review. As long as your work is complete, satisfies the scope of work for the job and is of a high quality, then you should be paid for your time and effort.