tomatoes grow tall those silly 3 ft cages they sell will not support a 5 ft tomato plant... leave then in the cages but add some stakes.. I like rebar as it lasts for years and is cheap but 2x2 wood stakes will work also just puond into the ground my rebar will usually just push in the1 ft needed to support the plant.
You do not want to prune off the top but if the are far to bushy you can prun some suckers off it will cut down on your yeild but the tomatoes will be bigger
then take twine ot tie the plants to the stake and keep doing it as they grow.
If you want short plants plant plum tomatoes...
tomatoes are either determinate meaning they have a certain height they get to and that is it or inderterminate mening they geep growing from the top until the frost kills them.