Unfortunately, the ESI paid by the employee is not refundable or withdrawable even if no benefit taken.
Just the benefits are provided to the insured person and their family members.