What happened to Joseph after the birth of Jesus? Was he alive when Jesus was nailed to the cross?
No he was not.
He had died, according to tradition, by that time. Nothing is wrriten in the Gospels. St. Joseph, although playing a major role, is silent.