Gee, there is no way to tell IMO. Can you reach everything you need to grind out to fix the stringer? If so, the cap can stay on.
Unfortunately, a rotten stringer is usually the indicator of other rotten structural components.
If you keep the cap on, and the transom need replacement, it...