Do what you did.
If you can't make the technique you were supposed to do happen, at least do something else that is aikido. Don't just stop moving and ask uke if you can try again. (Same applies to class, btw.)
What he said. This is easier with some techniques (ikkyo) than it is with others (irimi nage) though.