Trading in Danger by Elizabeth Moon (Random House, 2003)
This is an older novel which I bought off of the book sale shelf at the library for my train trip. Like almost all of Elizabeth Moon’s books it begins with a young girl at a military academy. In this one the girl is kicked out of the academy for some crime which is not very well explained. Luckily her family owns a major interstellar shipping company and is happy to give her a job as captain of one of the older ships (they didn’t really approve of her joining the space force anyway). The book tells of her dangerous adventures on her first voyage, when communication with her family is cut off by war on a planet she visits at the wrong time. Of course lots of unexpected things go wrong, but she keeps a level head and comes out all right in the end.