GAL? Guardian ad litem.
When she is 18 she is free to leave.
It's not clear from the way you wrote who said that isn't true - or did she just say she is staying on by agreement with the foster...