Shadowboxing is the foundation, but what people skip is training it with a proper timer. Do 3-minute rounds with 30-second breaks just like a real session, so your body gets used to the actual rhythm and it doesn't turn into something random. Add burpees and push-ups between rounds to keep the intensity up and work on cardio endurance.
For technique without a bag you can use a trick: record yourself on your phone while shadowboxing and watch it back. You'll immediately see if your shoulders are tense, if your footwork is sloppy, if your chin is exposed. Everything changes when you get visual feedback - seems obvious but it actually works way better than throwing punches in the dark.
Also work on movement with an imaginary cone - create a pattern in your room space (like 4 points forming a square) and move in and out hitting the right angles, like you're slipping and countering. This trains distance better than anything else. Abs cables, planks, bodyweight exercises - anyone can suggest those to you, but technique is what risks getting worse after a year off - you've got to keep that sharp.