Obviously, if you have abandoned the Panda loop, you need to call the frame render function as needed.
render_frame()