To abruptly change your direction to avoid an accident is to swerve.