The benefit at the federal level is the ability to avoid taxes on the growth, if it is used for qualified educational purposes. If you pull money out of the account there is tax on the growth, and a 10% penalty on the growth. The federal tax would depend on the tax bracket you are in. But it will still only be a portion of the small gains you have.
On the state level you would have to check the state tax law. In some states you can take a state tax deduction for your contributions, in others there is no deduction. If you pull it out of the account some states will want their tax deduction money back. But if you started the account in 2019, you haven't had time to claim the deduction. I don't know if the state will assume that you claimed it, and try and get the money back even though you didn't take the deduction.
What penalties will I face if I take a distribution for the basis
amount but leave the account open with a balance of the current
earnings?
The Virginia 529 would not allow this. All distributions were part principal and part gains.