The yacht nearly capsized