The following commands will make the shell sleep indefinitely:

sleep inf
sleep infinity

Previously I would call a command such as a while true loop or the yes utility, but sleep is also handy.