Did it really suggest "cock"?! :D
Pesce means fish. But yes, in some parts of Italy it's also used as slang for male genitalia.
The Italian for "cock", as in male chicken, is gallo and it's not used as slang. However, we can use uccello (=bird) for the second meaning of "cock".