No, ending proprietary software does not end copyright. Even after reading your arguments, I'm not sure how you got to that conclusion.
You argued quite the opposite, in fact, by claiming copyright (and not license terms) ensures open source software.
It is entirely possible to ban proprietary software in cases of human rights and public interest (e.g., open source medical firmware, to use the OP case) while maintaining copyright law even as it exists now.