I think the only time I ever had to actually use it was when the SAT and GRE required us to write some oath or something in cursive. At least I think that's what was going on; it's been a while.
I still think there's value in teaching it. While I don't use the cursive I was taught, it still influenced my handwriting style in ways I find beneficial and I can still read cursive which comes in handy for anyone with interests in history.
I do recall one weirdo typing teacher in middle school who didn't realize the "need to use cursive the rest of your lives" rule wasn't a real rule and was scolding some kids for turning in material in handwriting, but I think that was literally the only time it happened, ever. (I don't recall why a typing class had a handwriting component, I think she probably usually never received written material from kids and was greatly confused as to why it wasn't in cursive on that special occasion, maybe she was filling in for another teacher?)
I've always struggled with cursive (Reading cursive, that is, I only use it to sign my name) and have never bothered to learn it from a book- I've read Gen Z may never have learned it or may be bad at it- so I may have been ahead of my time.