How to exit from the camera view?
You can use the view3d.viewnumpad operation.
Pass on the override context, just like in your example code. This snippet can also be used to enter the active camera's view.

bpy.ops.view3d.viewnumpad(override, type='CAMERA')