iPad disconnects external display connection when it reaches 100% battery charging.
My iPad Air (M2) always disconnects the external display connection when it reaches 100% battery charging or 80% if i got the battery saving mode on.
It‘s connected via USB-C Hub -> HDMI to a monitor which has it‘s own power connection.
The iPad is up to date with iPadOS 26.2.1