You should carefully engage an attorney to look at the by-laws of the company to verify you are protected as an investor. In some cases, holding onto shares of a company (LLC, for example) could open you up to substantial tax liability without personal disbursements to cover expenses. If these protections are not there (tax distributions, etc), and if you're going to remain an investor, you should ask for reasonable investor protections -- they'll need these anyway.
Most employment agreements have a non-solicitation (for employees and clients), non-disclosure (of trade secrets), and non-compete clauses. These would probably be quite enforceable against business co-founders. If they try to leave you at the side of the road, no need to get worked up about it till they've been successful (get an attorney advice though).
If the existing co-founders are going to invest more of their time in the company, you could, as a part-owner of the company, offer to dilute (on same terms as other owners) as their continued engagement may make your prior labour have value. Ask if you could be on their board to help them see problems in their strategy -- while you probably don't have enough equity to change course, your voice as a technically-minded investor could be positively channelled to help them; they might be lucky to have your kind and productive assistance.