Markup ruler disappeared below menu
Saw this question asked last year, I had same problem, then found solution which couldn’t be added to previous question.
Answer:
Whilst on markup, physically rotate phone from portrait to landscape (take off portrait lock if it’s on), tap ruler then rotate back to portrait and it should come back on screen. If not try repeating process.
iPhone SE