Maimonides converted to Islam when he was still in Cordova, but reverted back to Judaism at some point when he fled and was living in Morocco.
It was probably a forced conversion or conversion of convenience or self defense, since a more aggressive group of Muslims had recently entered Southern Spain.
probably.