For some rockets and spacecraft the crew escape system was via an ejection seat, sometimes custom built for the task, sometimes adapted from an existing seat designed for a high performance plane.
Here's a great NASA paper on the Gemini ejection seat:
https://ntrs.nasa.gov/api/citations/1...
For a more general overview this website has collected a lot of good information
http://www.ejectionsite.com/
Follow me on Twitter for more updates:
/ djsnm
I have a discord server where I regularly turn up:
/ discord
If you really like what I do you can support me directly through Patreon
/ scottmanley