Virginia had a similar statute
Taken from the Black Laws of VA by June Purcell Guild
1856. Chapter 46
It shall be lawful for any free person or color, of the age of 18 if female and 21 if a male to choose a master by court petition. The value of the Negro shall be ascertained and the individual chosen as master shall pay into court one-half of such valuation, and enter into bond, in such penalty as the court may prescribe, with condition that the said Negro shall not become chargeable to any county or city. The property in said Negro as alave shall vest in the person chosen as master, and the condition of the petitioner shall be in all respects be the same as though the Negro has been born a slave, but the children of any such female free person of color previously born shall not be reduced to slavery.
In 1854 (prior to the passage of the above statute,......Will and Andrew, free persons of color in the County of Lunenburg emancipated by the last will and Testament bo DAvid Doswell, petioned the court to be re-enslaved.
Guild cites a number of other cases:
1856-
Thomas Grayson of Culpeper
Simon and Martha and their children in Southampton
Lewis Williamson of Southampton
Armaminta Frances and Dangerfield of Culpeper
1860-
Mary and her children emancipated by Nelson Colvin
and Martha Brown of Giles