As default in Unreal Engine 5 (UE5), the position of camera in the Level Editor moves to the point where you stop playing the game.
This video shows you how to avoid that movement.
How to disable the editor perspective camera to be dropped at the last PIV (Play In Viewport) camera position.
[Chapters]
00:00 Introduction & Symptom
01:05 Disable Setting
01:40 Check after disablement