I was doing a backup-spsite but I interrupted it during the process, after doing this I get a pretty message in the site collection that was in Read Only mode.
$site =Get-SPSite -Identity http://xxx
Set-SPSite -Identity “http://xxx” -LockState “Unlock”
stsadm -o setsitelock -url http://xxx -lock none
But unfortunately was not possible to unlock the state of the site collection. Hopefully I found the following PS that did the trick:
$Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration(“http://xxx”)
After that, my site collection is not read-only any more
Till next time!