When you’ve forgotten the passcode for a tool that is related to your iCloud account, you need to use the “Discover My iPhone” function to take away the system out of your account.
This may be helpful if you happen to’ve misplaced your system or if it has been stolen.