Does the sun cool the ocean?

No, the sun does not cool the ocean. Remember, the sun heats up things.