she eventually reached the rank of captain