A yacht briefly hit rocks near the Auckland Harbour Bridge this afternoon.