Hi @gurpreetsingh1987kkr,
welcome back to the Wefugees Community and thank you for reaching out to us.
Unfortunately, I can not provide any general information about the duration of the asylum cancellation. Have you already tried to contact the Ausländerbehörde for further information on your submitted cancelation? Where is your home country? I don't think it should be a problem to leave Germany if you already have your Temporary Residence Permit in another country for traveling to your home country. But in any case, I recommend you to discuss your case at a migration counseling office in the first place to be sure.
Please don't hesitate to give us an update or to get back to us with any other question.
All the best,
Julia