If by “our money” you mean the money in the UGMA, then you are wrong. Money in a UGMA/UTMA belongs to the child, and is managed by a custodian (usually a parent, but it doesn’t have to be) for the benefit of the child until the child reaches the age of majority (the specific age depends on state law). And UGMA money placed in a 529 still belongs to the child.