Absolutely not. They come up for shift changes at the very least, and more.
Naval vessels are some of the most maintained machines in the world. They get hauled out for hull repairs routinely, or put into long term maintenance facilities for months while they are repaired. Probably second only to airplanes and space craft.