The influence of planetary engulfment on stellar rotation in metal-poor main-sequence stars