I wouldn't have ridden off the front, just to be nice. I'd have gone from the back and not in a quick acceleration, either. Just start easily accelerating past the line. Say something as you go past, "Thanks for letting me sit in" or something, and then resumed my pace.