Not sure if sarcastic or not.
1) No, Scotland has not seceded from the UK, and certainly did not before Trump tweeted.
2) No, but more Scots voted to stay in the EU than pretty much any other country. It was 62% to stay, 38% against.
There is no reasonable way that Scotland voted to take their country back in the context with which Trump tweeted.