Or can it be transferred to the name of the house buyer and then the buyer is required to pay the seller?
The housing maintenance fund is non-refundable. The housing maintenance fund is controlled by the community owners committee (composed of elections from all owners). The money from this fund can only be used for the maintenance of housing in the community.
The property management office of the Real Estate Bureau is responsible for the custody, supervision and management of the housing maintenance fund.
The house maintenance fund is generally transferred to the name of the house buyer. It only indicates that the house has been paid into the maintenance fund and the amount. It does not mean that the owner has the right to control the funds.
As for what you mentioned, asking the buyer to return it to you is fine as long as you both agree. But in fact, no buyer is willing to do this.