Title: Automatic control of ship deceleration