Lasse is correct there, if you using something like Mega65 or C64U, you need to manually save the CRT image back to the cart when finished.
More cart games should have cart/disk menus present, it's a terrific way to make sure you can backup your saves if the game needs a patch.