CSMA/CD and half-duplex mode are mostly a thing of the past. Gigabit Ethernet and faster ports only use full-duplex mode.

> since the switch is only responsible for forwarding frames to hosts, how would it ever retransmit the corrupted frame even if it manages to detect collision ? 

A switch *is* responsible for forwarding a frame, unlike with a *repeater hub* where the responsibility is that of the sending node.

A switch, just like an end node, simply detects the collision, backs off and retries the buffered frame after a random period until transmission is successful.