I had some tabs in the Terminal and was doing some work when it crashed but my processes were still running (could see them in Activity Monitor/htop). When I started the Terminal again it put me to ttys004 so I guess there are 3 more (4 if there should be a ttys000 too) sessions running.
How do I regain control over my lost sessions?