Sequester

Level & School
7th-level transmutation
Casting Time
Action
Range
Touch
Components
V, S, M (gem dust worth 5,000+ GP, which the spell consumes)
Duration
Until dispelled
Classes
Wizard

With a touch, you magically sequester an object or a willing creature. For the duration, the target has the Invisible condition and can't be targeted by Divination spells, detected by magic, or viewed remotely with magic.

If the target is a creature, it enters a state of suspended animation; it has the Unconscious condition, doesn't age, and doesn't need food, water, or air.

You can set a condition for the spell to end early. The condition can be anything you choose, but it must occur or be visible within 1 mile of the target. Examples include “after 1,000 years” or “when the tarrasque awakens.” This spell also ends if the target takes any damage.

Level & School
7th-level transmutation
Casting Time
Action
Range
Touch
Components
V, S, M (a powder composed of diamond, emerald, ruby, and sapphire dust worth at least 5,000 gp, which the spell consumes)
Duration
Until dispelled
Classes
Wizard

By means of this spell, a willing creature or an object can be hidden away, safe from detection for the duration. When you cast the spell and touch the target, it becomes invisible and can't be targeted by divination spells or perceived through scrying sensors created by divination spells.

If the target is a creature, it falls into a state of suspended animation. Time ceases to flow for it, and it doesn't grow older.

You can set a condition for the spell to end early. The condition can be anything you choose, but it must occur or be visible within 1 mile of the target. Examples include "after 1,000 years" or "when the tarrasque awakens." This spell also ends if the target takes any damage.

Sequester 5.5e 2024 vs. 5e 2014 edition differences

The 2024 version grants the target the Invisible condition, while the 2014 version makes it invisible and immune to divination. The 2024 version states the creature is Unconscious, doesn't need food, water, or air, whereas the 2014 version states the target is in suspended animation with no mention of unconsciousness or sustenance needs.