Yeah - sometimes you are on a dud team. And it sucks. Which is one reason why I never sign more than 2 year contract extensions. I don't care about the money - there's no point to it in the game anyway - I just don't want to locked onto a non-competitive team my entire career.
There's only two ways out that I know of:
(1) Every time your agent asks you how things are going - tell him you want to be traded. Word of warning here - there's always a worst team you could land on (think Marlins);
(2) I did this in an old version. Not sure it will work in 2021 or not. Basically I let my contract entirely expire. And at the end of the year after winter meetings and whatnot, I was able to "try out" for whatever AA team I wanted. I was 90+ OVR at the time. Picked the AA team for the team I wanted to play on. Tried out, made team, instantly promoted to majors. Of course, the story ended up ending sad. At the end of that first season (we won the Series and my SP won the Cy Young), I signed a 10 year contract for $30k per year. I figured that would "lock me in" on my favorite team. Why would they ever trade away the best pitcher in the league who is locked into a bargain basement minor league salary? Yeah, the very next year they traded me to basement dwelling team for a couple of minor league prospect scrubs (guys in their late 20's, early 30's with D potential and OVR somewhere in the 50's). So avoid long term contracts because the trade logic in the game has always been suspect.