The siq walls narrow until you reach a cleft, through which you glimpse El Khazneh (the Treasury), and then the siq opens out to bring you face to face with the ancient city's most famous sight.
You can exit through the cleft in the siq walls to explore the treasury.