Position the cursor on the gray vertical line dividing the two screens. Drag the line all the way to the left or right edge of the iPad screen to leave only one image open and exit Split Screen. In iOS 15, you can also exit Split Screen by tapping the three dots at the top of the window you want to leave open and then choosing the left icon.