I am almost certain that a 24 hour ticket will terminate validity at 6am, so you are no longer covered by the ticket from 6am and you'll have to buy another ticket. I could ask for clarification, but I'll have to ask on another forum, which will take time.