Could the ship’s computer resign from Star Fleet and go do something else?
I couldn't really say, likely no, but they did let it pursue it's own inscrutable interests without interference for the episode. One assumes the computer is built to never really care about not being in service of Starfleet.
> One assumes the computer is built to never really care about not being in service of Starfleet.
There was a time when this same assumption was applied to African Americans.