Where the phrase "pulling out all the stops" comes from

As the Holy Name of Jesus Cathedral in Raleigh installs a new organ, UNC-TV Science discovers the meaning behind the phrase "pulling out all the stops" from music director Michael Accurso.