Vault and devices
What should I do if a trusted device is lost, sold, or replaced?
If you still have the device, first confirm another trusted device has current data, remove the old device from that other device’s Trusted Devices list, and then use Delete Local Vault on the old device before handing it over. If it is missing, remove it from another trusted device and run Sync until the removal completes; also use Apple’s lost-device controls and review access at the vault’s Google Drive or GitHub provider. Removal cannot remotely erase an encrypted vault already stored on that device.
Link to this answer