Dear @Aug,
Welcome back to the Wefugees Community and thank you for reaching out to us.
We actually discussed a very similar question here before :-)
Given the fact that you are holding a valid travel document, you can travel to your country of origin and it shouldn’t risk your residence permit in Germany either.
All the best,
Meike