Dear @Singh,
Welcome back again and thank you for being such an active Community member.
I afraid though that we can not give a general answer on your question or an advice regarding your specific case here (due to the complexity and the numerous relevant factors to be considered).
We discussed similar topics a few times on this platform. A colleague was giving some information on the residence permit to take care of a non-German child (Aufenthalt zur Personensorge) here, for instance.
However, I would highly recommend you to discuss your perspectives, options and potential next steps individually at a migration counseling office or with a lawyer.
Please let us know if you need support in finding respective contact details.
All the best,
Meike