If I copied some code from Stackoverflow early on in the development process, forgot to take it out, and published the finished website containing the code from Stackoverflow, is my website no longer allowed to be proprietary?
What if I re-wrote or removed the copied code? The thing that worries me is that according to https://creativecommons.org/licenses/by-sa/4.0/ which describes the CC BY-SA 4.0, "If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original." That would make the entire proprietary code base compromised right? All of the code that I was counting on being proprietary can no longer be proprietary...?
Is there any legal emergency removal procedure where I can re-write or remove the copied code and therefore still be allowed to keep my code proprietary?