The US president was accused of having "no plan" and leaving allies scrambling to deal with the fallout.