Unable to login as admin after enabling read only mode

I had enabled read-only mode from admin area from where we do backup.