How does thyrotropin releasing hormone go from the hypothalamus to the pituitary gland?

Via the blood stream. Trh flows from the hypothalamus to the anterior(front) pituitary gland through a blood connection between them.