Rod of Emergency Teleport (5e Equipment)
From D&D Wiki
Rod, rare (requires attunement by a spellcaster)
The rod of emergency teleport is a metal stick made from an alloy of copper, silver, and gold, about two and a half feet long and one inch thick. While attuned to it, you may call upon its abilities to quickly bail you out of sticky situations.
Charges. The rod of emergency teleport holds 5 charges, 1d4 + 1 of which regenerate daily at dawn.
Designation. As a bonus action, you expend a charge may designate the point at which you are standing to be the rod's designated point.
Emergency Teleport. As an action, you may expend a charge to call upon the rod to teleport you, and any creatures you touch, to the designated point instantly. Upon doing so, the designated point is wiped from the rod and becomes unset.
If the rod is used to teleport while it does not have a set point, it will instead teleport you and any affected creatures to a random point within 10 miles of you.