Thanks to everyone for their responses. I am happy that this is probably what caused the "weirdness". Having never experienced ABS before, I didn't realise it would be so violent.
At least in future now I know that if it happens to just keep the pressure on the pedal and everything will be fine.
Tom