If you’re the Russians you don’t. You just let them sink at dockside due to neglect.
CC
Russian subs being dismantled. Photos here at google. Some of their subs have sunk at dockside. http://tinyurl.com/nvcqkw6