Monarchs were very sensitive of their position, and would often censor (stop or suppress) comments against them.
If a play was seen to be insulting or risky, it could be censored, meaning it wasn’t allowed to be performed.
The play Eastward, Ho! Contained jokes about Scottish royalty. James I (who was Scottish) wasn’t happy and threw the playwrights in jail.