How do I re-attach the camera after detaching it using an input?

I needed to detach the camera so it doesn’t follow the player during certain events. I’m having trouble re-attaching it to the player character. Is there anyway I can do this in blueprint?