On 4 March, Onysko came to the military commissariat with a packed bag for enlistment.[4] In the war he received the code name "Tarantino".[5] He participated in military operations on the territory of Kherson Oblast and the Donbas[6] as a member of the 128th Mountain Assault Brigade. Junior lieutenant Onysko died on 30 December 2022 while performing a combat mission,[7] near Soledar.[8] On 5 December 2022, he was buried at the Baikove Cemetery in Kyiv.[9] He left his wife, Olga, and a daughter, Zakhariya.[10]
In August 2023, he was posthumously awarded the Order of Merit Third Class by President Volodymyr Zelenskyy, for his contributions to Ukrainian cinema. The award was refused by his wife because she felt it was disrespectful that filmmakers who stayed in the rear were on the same list as those fighting to defend the country. Additionally, she said that the list of awardees only included those loyal to the Ukrainian State Film Agency.[11]
An episode of Ostannioi ziomky (Ukrainian: Останньої зйомки), a documentary series about creative professionals killed during the Russo-Ukrainian War, was dedicated to his life.[12]