iPhone - cancel 'swipe to upgrade'?
You simply can't. Sorry this is kinda too short to be an answer, but it is.
Apple stops signing older software short after the release of a new version.


  As of Wednesday Apple is no longer signing iOS 9.3.5, effectively
  preventing anyone already on iOS 10 from downgrading to iOS 9.


Source: Apple Insider