She was stretching and twisting, almost like an exercise routine.
Based on how wet she looked I guess there was too much time spent in the water. Now she couldn’t fly and had to get the sun to dry her out.
Anhinga like to keep dry enough to take off if threatened, but too much water and they are not going anywhere.
I moved on and never did see her leave.