Jynneos, approved by the FDA in 2019 (and in EuroLand in 2013), is effective for smallpox and monkeypox.
Smallpox was declared eradicated, IIRC, in the 1970s. And smallpox vaccination also ceased being ordinary/normal pediatric practice. However, there are labs around the world that still retained samples of the smallpox virus. This became a subject of concern with the break-up of the Soviet empire and terrorists becoming more prominent, etc. so acquiring stocks of smallpox vaccine became a government priority, and, apparently, a new vaccine was developed, tested, and purchased (the number I've seen was 24 million doses).
Monkeypox seems to be endemic in parts of Africa among some mammals (it was first identified in lab monkeys in 1958), and crosses over to humans who come into contact with those animals. Starting just after the start of the 21st Century, there have been multiple small outbreaks and clusters of cases outside of Africa, all linked to travel (human or exotic animals) to/from several African nations. Many current cases apparently link to a couple of large "Pride" festivals which gays from multiple continents - including Africa - had attended. Whether the virus was transmitted by close contact or close contact is knowledge I'd gladly forgo.