On a long enough timeline, just remembering how to code will probably become invaluable when something breaks, nobody knows how it works and their agent refuses to fix it.
In the short term, I am watching artists vibe code in circles around developers, and it's because how they perceive software is not constrained by development knowledge. Depending on the subject matter, not knowing anything is probably an advantage IMO.