Answer
Liliʻuokalani became the Regent of Hawaii during Kalākaua's absences, as she was the next in line of succession to the throne. This was because Kalākaua had no surviving legitimate children, and his brother, William Charles Lunalilo, had died without a will. As Regent, Liliʻuokalani was responsible for governing the kingdom in Kalākaua's absence.