Addressing issue Dr. `Abdul-Fattah Idrees, a professor of comparative jurisprudence at Al-Azhar University, said,
“The verse you quote if applicable to those who have not embraced Islam. These people cannot be compelled to embrace it, as true belief cannot be established by force. But once a person embraces Islam, he or she becomes obliged to adhere to its teachings and fulfill its obligations. Thus, there are other texts that regulate the Muslim community and the relations between its members and declare the rights and duties of each Muslim individual.
No one is allowed to play games with the religion or to deceive the community by adopting and renouncing it whenever he or she pleases. There are severe warnings in the Quran in this regard. Almighty Allah says “And whoever of you turns back from his religion, then he dies while an unbeliever– these it is whose works shall go for nothing in this world and the hereafter, and they are the inmates of the fire; therein they shall abide” [Al-Baqarah 2:217] Moreover, the Prophet (peace and blessings be upon him) said, “Whoever renounces his religion kill him“.