thank you for sharing your question with the Wefugees Community & thank you Meike for your answer!
I just wanted to add, that - as Meike said already - you are allowed to travel to your homecountry but depending on the reasons the BAMF gave you for the "Abschiebungsverbot" there is a possible risk that it could have consequences for your stay in Germany! Let me give you an example: The BAMF gave you an Abschiebungsverbot because you are very ill and there is no treatment available in your home country or you need close monitoring through a doctor. Now you go on holidays to your homecountry for 2 months. In this case the BAMF would get suspicious and maybe call you in and ask you questions about it. It might even check if it could revoke your Abschiebungsverbot.
But there are many possible reasons why a person can get an "Abschiebungsverbot" by BAMF. Still, just to be sure I would recommend you to go to a counselling office/centre and have it checked. Via this link you can find free and trustworthy counselling offices close to you: https://adressen.asyl.net/language/en/welcome-to-informationnetwork-asylum-and-migration/
I hope this answer was helpful and wish you all the best!
Note: Please keep in mind that we can´t provide qualified legal advice via the internet and that any information given can´t replace such legal advice.