Originally you'd need to cast a second rune to send the cockatrice away, but we needed to cut the plot short, so when it opens the tree to let you out you are just able to run away.