First get the stock recovery partition.
On a PC, download and unzip stock image.
Then unpack firmware.img file with amlogic unpacker and find the file recovery.PARTITION
On the android device terminal, twrp or adb etc, type
dd if=/dev/block/recovery of=recovery.PARTITION
Now transfer the recovery.PARTITION file to termux home folder or linux home ...