You have it right
When the park closes at 5, if you have the hhn ticket, you can stay in the park and wait in one of the holding areas
Once the general park is cleared of day guests, the park reopens usually around 6-6:30 for hhn
All can leave the holding pens then