Pull Out All the Stops

What does the expression “pull out all the stops” mean?

Definition: Do everything possible to accomplish something

Example: When I visited Indonesia, my friends pulled out all the stops to make sure I would have a good time there.