The uterus itself doesn't produce hormones. As long as the ovaries are not removed, hormone production will continue as usual.