“cmd.deprotect” reverses the effect of the “protect” command.
cmd.deprotect(string selection)
def deprotect(selection="(all)", quiet=1):
deprotect | api