When you find a trap, it’s over for you! You’ll lose all the rewards in your Treasure Box and leave the Cave empty-handed. However, you can always pay Gems to continue exploring the Cave.

Continuing will be cheap after your first failure, but
the cost will increase as you keep resorting to this option. However, you’ll never pay more than 500 Gems per attempt.