I refer all to the words of President Theodore Roosevelt -
“Perdicaris alive or Raisuli dead.”
Perdicaris came home pretty quickly.
There was a little more to it than just that: Roosevelt tried to get Britain and France to join the US in a combined military action to rescue Perdicaris, but the two countries refused and France actually reinforced its garrison in anticipation of an American assault. Instead, the two powers were covertly recruited to put pressure on the Sultan to accept Raisuli’s demands, which he agreed to do on 21 June.