Whoever holds the recovery phrase holds the crypto
A recovery phrase is usually a series of 12 or 24 words. With it, someone can restore a wallet on any other device and move the coins. So a hardware wallet itself can be replaced, but the recovery phrase cannot.
Some wallets also use an extra passphrase. Without that passphrase, the recovery phrase alone does not unlock the same coins. So also note whether you use one.