Ensure that the function that you need to deactivate is no longer in use, and try again.
Reduce the number of FlashCopy targets to 64 or fewer before deactivating the function.