Allah Almighty in the Holy Qur’an says:

Whoever declares that there is no god but Allah and becomes a Muslim has pledged a covenant with Allah and they are never allowed to break it. This uttering of belief in God Almighty is not like making a date with your boyfriend or girlfriend, and then calling it off. You do not play with God. Once you are a Muslim, you stay a Muslim, live as a Muslim and die as one.
There is no backing out of your covenant with Allah. Period. Those who claim to be Muslims should be 100% sure of their conviction and keep to their covenant with Him, or stay out of Islam. Learn about Islam, your birthright, from the authentic sources and do not get played out by those who have ulterior motives and just want to take you for a ride.