Even pirates have a bedtime.