It was Kerry , pressed into action by the Obama administration while on an unrelated trip to Afghanistan , who stood by Karzai 's side in Kabul on Wednesday when the announcement about the runoff was made .