Leaving an interaction (with Collision Box) unreal 5

I’m making a game, where I need the ThirdPerson character to interact with a “button”, making him switch the perspective to a fixed camera, where it will lock its movement until it leaves the new perspective. I managed to do that, but I can’t get him back to the thirdPerson camera. I’m a beginner and I don’t have much notion, I tried to find solutions on youtube but they don’t work. (sorry my english)