Rabat in pain but lucky to escape crash relatively unhurt