"Upon the court???s approval of the adoption agreement, the legal relationship between the adult child and the parent who did not join the adoption agreement shall be terminated in accordance with subdivisions (5), (6) and (7) of section 45a-731, and the adopted person shall be the child of the parent and other person who joined the adoption agreement, except that the adoption shall not affect the" . . . .