In the second book, A Dangerous Mourning, Monk was fired from the police force for insubordination and became a private investigator.
In the context of the story, Monk was fired from his job as a police officer for misconduct and then started working as a private investigator in the second book.