As I understand from your code, it is setting the Relative Location on Rotation correctly when the camera goes up, but you are not telling it to go down when the camera goes down, if you have a static camera while the map is open, you could save previously the transform of the camera with the map opened/closed. If it is dynamic, it should Modify the current transform instead of setting it directly:
I wrote the first option here, maybe it gives you an idea on how to continue, hope it helps!
Remove the link between the Released on the TestKey InputAction node and the Reverse on the SetCamera node
Copy what I encircled on green and paste it below your bp
Join the Released on the TestKey InputAction node with the Play of the copy of the SetCamera node
Adjust the Lerps for the Rotator and Vector with the camera without map opened values. (I’d recommend saving it as two transforms, one for the transform without the map opened and another with the map opened)