So there's two terms here, apparently they need to be defined.
A "patch release" is when Riot releases an update to player-side clients. The servers do not go down, and you are able to join a game as soon as your client finishes downloading and installing the patch (as mine is doing right now).
"Scheduled maintenance" (or unscheduled) is when Riot's servers themselves are taken offline for maintenance, repair, or updates server-side. The player-side client can usually be opened during this time, but you can't queue for a lobby, and there's a red exclamation mark at the top of the client. Scheduled maintenance is, obviously, scheduled, and as DrGraveline noted, they typically disable ranked queues starting some time beforehand. SOMETIMES they release a patch at the same time as scheduled maintenance, but not always.
The issue that OP is complaining about is that when Riot released the patch, it forced him out of his game. I've never happened to be playing a LoL match at the exact time a patch is released before, so I don't know if this is a recurring issue, or if OP in particular got randomly screwed. However I HAVE in the past been in the middle of an Overwatch match when a patch was released, and all that happened is that after the match was over, I was redirected to main screen and told I'd have to log out to install the patch.
If this ISN'T just OP's client shitting the bed, then it means that either the patch forced a match end without compensation (which is weird, and shouldn't have happened) or they took the servers offline for unscheduled maintenance (in which case they should be applying loss prevention to all ranked matches in progress). Either way, OP got screwed, and it isn't his fault.