The ref didn't notice Ortiz gave up, right when Ortiz turned his head, the ref wanted to check the eye. Thus prompting the doctor to stop it.
Yeah it was awesome what he did....i hope we see all the fighters give up when they are getting beaten up.