It depends upon the child's age:
How to remove anyone 13 or over if you are the organizer. --> Leave Family Sharing - Apple Support See the internal link to remove someone
You can't remove a child under 13 from Family Sharing. You can either:
Move a child to another group using Family Sharing - Move a child to another group using Family Sharing - Apple Support
or:
Delete their Apple ID account entirely. Doing this means the child will no longer be able to re-download past purchases.
One way to do this would be to log into the unwanted "child" account and request deletion of the AppleID. You should have the ID and password from when you first set up the account, or can recover the password according to information provided in the referenced links below.
Family Sharing and Apple ID for your child - Create an Apple ID for your child - Apple Support
- "Your email address is the rescue email address for your child’s account, and you can use it with the security questions you provided to reset a forgotten password. You can keep your your child's account more secure with two-factor authentication."
- "If you need to see the options you have for managing your child's account, you can sign in with their Apple ID and password at privacy.apple.com."
How to delete your Apple ID account - How to delete your Apple ID account - Apple Support
- Can I delete my child’s account?
"Your child can also request deletion of their Apple ID, which requires your approval."
You could also contact Apple about this request: Click here --> Choose your country or region - Official Apple Support Select your country, then a product and work your way down the menu to the desired issue. If you don't see one then try a different product until you reach a telephone or chat help request and ask to be redirected.