I get the whole leaving on good terms, really. But this whole "hey, we just want you to keep the code and answer questions for our other engineers" aspect really ought to have set off red flags.
Pro-tip, hand write a nice letter to your boss/colleagues on your way out. Bingo, no burned bridges, and no risk of law suits for holding on to company IP.
Pro-tip, hand write a nice letter to your boss/colleagues on your way out. Bingo, no burned bridges, and no risk of law suits for holding on to company IP.