Was Abū Bakr al-Baghdadi Released by U.S. President Barack Obama?

After the former Islamic State leader was killed in October 2019, social media posts claimed that Obama released him from American custody in 2009.