This has been haunting me for mostly all my life, a film I saw as a child during the 70s. Can't tell if it was theater or TV. I basically only remember the last scene of the film:
There is some form of deadlock between a human spaceship and another hostile one (aliens, other humans?). This spaceship has some form of drill as nose cone; which is detachable but has to have someone ride it.
Spoiler The deadlock is solved by some hero climbing into the drill pod and riding it into the hostile ship. I seem to recall his daughter was also on board and tries to dissuade him.
Edit(per comments) I'm almost sure it was a live action film.