Make sure you Never use company resources, and next time, consider getting a copyright assignment exemption before beginning work.
The reality is that it probably isn’t really likely all companies are out to steal your personal work through dubious copyright assignment agreements, but that doesn’t mean you shouldn’t be super aggressive.