Quitting after giving your all is better than quitting because things aren't going your way. I'd say cotto gave it his all. You can't blame a guy for quitting to avoid serious permanent damage. He gave it his all and it just wasn't enough against Margarito.