How does puck react at the end of the play in a midsummer nights dream?

Puck appears at the very end of the play, but he is not reacting to anything. He has a long speech telling the audience how dark and spooky the night is and how that's when the fairies, including himself, "frolic". Then Oberon and Titania have speeches and Puck has the last speech in the play which is again addressed to the audience and is what is called an Epilogue. This particular epilogue is very apologetic, asking the audience's pardon for putting on such a terrible play, and promising to fix its faults in time. The last line reaffirms this promise while asking the audience to applaud. "Give me your hands, if we be friends, and Robin will restore amends."