Fate of chaotic strings in a confining geometry