Was curious myself, sperm still made, it seems: https://www.mydr.com.au/mens-health/vasectomy-frequently-asked-questions
The sperm would not make it to the semen. If they do the vasectomy was not complete. It can sometimes be reversed, but they tell you not to count on it.