Retirement tax questions

Thank you. When I deleted the 1099-R from the from TT the 5329 remained with numbers from the 1099-R I had removed. I then manually deleted all the numbers on the 5329 and closed the form. The form went away. When I re-entered the 1099-R, the 5329 did not reappear.