Essentially, yes. Samurai status wasn't a job you clocked out of — it was a lifelong role, and the expectation was to remain a warrior until death.
It's often likened to joining the army for life, though a samurai's obligations ran deeper than military service, extending into a code of conduct and a social standing that stayed with him and his family.